I have an app that uses some custom model fields. These are subclasses of standard fields.
-- I have tried to include as many defaults as possible in custom field to stick to DRY.
I have written South introspection rules for these that work fine when I change a model
What happens when I change the custom field itself?
For example, if I have a subclass of CharField with a default max_length, and I change the
default max_length in the custom field? What if I decide I want no
max_length and decide to subclass TextField instead?
South cannot see the change and running schemamigration --auto gives "nothing seems to have changed"
Is there some way to create a migration easily, or would it require creating a migration manually?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/27046567-99c5-4e3b-a6b9-30ae91347d36%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment