Subscribe to our channel For more Updates.
/ @techemistry1733
Follow Us On Instagram For Updates.
/ cognitive_solution_
What is Django?
Django is a high-level Python web framework that enables rapid development of secure and maintainable websites. Built by experienced developers, Django takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel. It is free and open source, has a thriving and active community, great documentation, and many options for free and paid-for support.
______________________________________________________
How to create superuser in Django?
Django provides us Admin Panel for it’s users. So we need not worry about creating a separate Admin page or providing authentication feature as Django provides us that feature. Before using this feature, you must have migrated your project, otherwise the superuser database will not be created.
How to create superuser in Django?
For creating superuser, first reach the same directory as that of manage.py and run the following command:
python manage.py createsuperuser
Then enter the Username of your choice and press enter.
Username: srishti
Then enter the Email address and press enter.(It can be left blank)
Email address: [email protected]
Next, enter the Password in-front of the Password field and press enter.Enter a strong password so as to keep it secure.
Password: ******
Then again enter the same Password for confirmation.
Password(again): ******
Superuser created successfully if above fields are entered correctly.
__________________________
Now we can login into our Django Admin page by running the command python manage.py runserver . Then, open a Web browser and go to “/admin/” on your local domain – e.g., http://127.0.0.1:8000/admin/ and then enter the same Username and Password.
Tags:
how to create superuser in django
how to create superuser in django docker
how to create superuser in django heroku
how to create a super user in django
how to create super user in python django
how to create a superuser in django
command to create superuser in django
django create superuser command
python django create superuser
create superuser in django
how to create new superuser in django
django create superuser automatically
how to create the super user in django
how to add superuser in django
not able to create superuser in django
how to create super admin in django
django admin create superuser
Watch video How to Create Super User in Django | Django Admin Panel |Python Django Tutorial for Beginners Part 4 online without registration, duration hours minute second in high quality. This video was added by user teCHemistry 05 February 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 13 once and liked it people.