How to create new admin user or super user in Django python

we know that Django is one of the most popular framework in python.we already discussed how to install a Djnago frame work in windows .Now we have installed Djnago framework in our system.We read Djnago provide build-in admin panel automaticaly ,so our question is what is the user name and password for admin Django,here am going to explain How to create new admin user in Django.

In Django default admin url is http://127.0.0.1:8000/admin/login/?next=/admin/,when you type http://127.0.0.1:8000/admin/login/?next=/admin/ in your browser ,you will get below User Interface

add New Admin user in Django

To Login above admin side we need admin user name and password ,see here how to create new admin user in Django

python manage.py createsuperuser

It will ask you new admin user info for your Djnago dashboard

create new admin user in Django

My Thought

Your email address will not be published. Required fields are marked *

Our Tool : hike percentage calculator