python - DJANGO Adding a User -


when trying add user in django admin site error:

the above exception (not null constraint failed: auth_user.last_login) direct cause of following exception: /usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py in get_response

i created super user command: python manage.py supersuser , able login it. however, adding user giving me grief on proceeding site.

based on this tutorial:

$ python manage.py createsuperuser 

and fill rest. maybe try add more details i'm guessing want add superuser


Comments