HF RL Explorer

Migrations uses value of enum object instead of its name. Description

Migrations uses value of enum object instead of its name. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). When using Enum object as a default value for a CharField, the generated migration file uses the value of the Enum object instead of the its name. This causes a problem…

The task

When using Enum object as a default value for a CharField, the generated migration file uses the value of the Enum object instead of the its name. This causes a problem when using Django translation on the value of the Enum object. The problem is that, when the Enum object value get translated to the users language,…

Part of Lego-X/Lego-RL-SWE-Bench-Verified.