Create Superuser in Django


  • Python
  • Django
    • 5
    • IN
    • Verified
    • Posted byPRAVEEN KUMAR
    • TimeMarch 18, 2022, 5:42 p.m.
    • StatusActive

    Snippet Description

    Superuser create in Django.

    Code

       Creating an admin user

      First, we’ll need to create a user who can log in to the admin site. Run the following command:

      python3 manage.py createsuperuser

       Enter your desired username and press enter.

      Username: admin
      Email address: [email protected]
      Password: **********
      Password (again): *********
      Superuser created successfully.

    Comments

    Related Posts

    Send SMS using Django-Python

    Python Django

    3 Aug. 14, 2022, 4:32 p.m.
    Proud

    Nginx 502 Bad Gateway - Django

    Python Django Nginx

    13 March 17, 2022, 3:34 p.m.
    Proud

    Django Project Updating on Server

    Python Django Nginx

    14 March 17, 2022, 2:17 p.m.
    Proud

    Want to Hire our experts?

    We'll help you to grow your career and growth.
    SignUp Today