django-lot icon indicating copy to clipboard operation
django-lot copied to clipboard

Tying LOT_TYPE_CHOICES to the model creates impossible migrations

Open aidanlister opened this issue 9 years ago • 0 comments

Specifying LOT_TYPE_CHOICES as the choices for the LOT.type field means that migrations will be created for any types created -- however the migrations are created against the contributed module which means they're not going to be included in source control, which means they aren't being deployed.

Let's not do that and just have a validate() method.

aidanlister avatar Jun 17 '15 06:06 aidanlister