Tuesday, 18 October 2016

Django superuser fixture error - no such table: auth_user

To day you will learn how to fixed user name and password issue in django for superuser creation. So here the problem is whenever you create superuser in django by using following command:



>>python manage.py createsuperuser

Than you got following error.


So how to get rid of this error :)
1-open you terminal
2-And run this command "python manage.py migrate" (without double quotes)


3-After running the above command now you can easily create superuser in django.
4-For creating superuser use this command in terminal "python manage.py createsuperuser" (without double quotes) 




No comments:

Post a Comment