Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

not null constraint failed django

You must create a migration, where you will specify default value for a new field, since you don't want it to be null. If null is not required, simply add null=True and create and run migration.
 
PREVIOUS NEXT
Tagged: #null #constraint #failed #django
ADD COMMENT
Topic
Name
4+7 =