working with admin in django

Terminal
-=======


erp@erp-Pegatron:~/mysite$ python manage.py syncdb
Operations to perform:
  Apply all migrations: admin, contenttypes, auth, sessions
Running migrations:
  No migrations to apply.

You have installed Django's auth system, and don't have any superusers defined.
Would you like to create one now? (yes/no): yes
Username (leave blank to use 'erp'): root
Email address: root@gmail.com
Password:
Password (again):
Superuser created successfully.



Note: here enter the red colour line in the terminal and create super user in the administration



output
======







No comments:

Post a Comment