I have a new django 1.7 project. I'm using sqlite now and moving to postgres soon. My initial migration (http://dpaste.com/2AW2ZEK) has a field with a custom validator (line 20). Now I've deleted that field and the validator function. When I run makemigrations it chokes because that function is gone: http://dpaste.com/2MX6RVX
Work around is to add a no-op method to models.py, and I guess I could squash my migrations and then remove the old migrations and that unused function. I'm wondering if this is a bug with the migration system or a known pain-point of custom validators. -- 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+unsubscr...@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/7b1f3909-2d55-4c26-bb5f-e9b8780e753b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.