On Jun 9, 2017 6:09 PM, "Lee Hinde" <leehi...@gmail.com> wrote:
I'm having problems with a migration after cleaning up an oddity with a date field and I'm not sure how to fix it. Any advice appreciated. I made this change to a date field: - start_date = models.DateField(db_index=True, default=False, - help_text="The date enrollment can begin this Season.") + start_date = models.DateField(db_index=True, help_text="The date enrollment can begin this Season.") I'm not sure how a default of False ever made it, but I ran across it and fixed it. Have you verified that every row has a value for start_date? The error sounds like either your start_dates are missing/have null values, or you have a bad value somewhere. Quite honestly this sounds like a bug in the migration system if that's the case. I'm pretty sure it should ask what value to use as a filler value during the migration, although I haven't had a change like that in a while. -James -- 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 https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciX6gqeKfCTpeMUKPp_rrX_g4Fneq2rjKW5nHGDxbThp6g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.