Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tying LOT_TYPE_CHOICES to the model creates impossible migrations #11

Open
aidanlister opened this issue Jun 17, 2015 · 0 comments
Open

Comments

@aidanlister
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant