[Answered ]-Django loaddata throws ValidationError: [u'Enter a valid date in YYYY-MM-DD format.'] on null=true field?

2👍

Simply change the "" for dob to null and it will work, the empty string isn’t the same as null. Even though you have blank=True in there, that’s really only for form validation and not input validation through fixtures.

Leave a comment