[Answer]-Django AbstractUser Inheritence Error

1👍

EmailField is a text field in the database, and ’empty’ text fields are saved as an empty string (''). They are not empty (NULL) on a database level, and the column is defined as NOT NULL. What you need to do is set a default of '', then the migration will work.

👤knbk

Leave a comment