IntegrityError with last_login field in Django 1.8
I have a project deployed to a server with Django 1.8 where creating a new user results in this error:
A null value in column "last_login" violates a non-empty constraint
This appears to be caused by a known bug that was reviewed several months ago.
What do I need to do to get the fix? Or if this issue is addressed in some other way?
+3
Luís de Sousa
source
to share
1 answer
I just needed to create a new migration for my application:
$ ./manage.py makemigrations $ ./manage.py migrate
+9
yndolok
source
to share