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 createsuperuser

Than you got following error.

So how to get rid of this error :)
1-open you terminal
2-And run this command "python 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 createsuperuser" (without double quotes) 

No comments :

Post a Comment

Leave A Comment...