3👍
blank=True
is not the same as null=True
, as the documentation explains. When a text field is blank, it still needs some kind of value: but that value can be the empty string.
So, just select option 1, and enter ''
as the default value.
- [Django]-Django 1.11 with celery 4.0 and djcelery compatibility issues
- [Django]-Pytest-cov cover many applications at once
- [Django]-Django-allauth Uncaught ReferenceError
- [Django]-Return self.user as foreignkey
- [Django]-Why would you separate a celery worker and django container?
- [Django]-How to pass args to a signal
Source:stackexchange.com