You are trying to add a non-nullable field ‘owner’ to submission without a default; we can’t do that (the database needs something to populate existing rows).
Please select a fix:
1) Provide a one-off default now (will be set on all existing rows)
2) Quit, and let me add a default in models.py
This is a common error in Django. Django will prevent a non-null field to be used except a default value is provided, alternatively the field is declared nullable.
To fix issue, you can either do one of the following:
user = models.ForeignKey(User, related_name='User', null=True)
or use the default user:
user = models.ForeignKey(User, related_name='User', default=<have your default user id here>)