Create Superuser in Django


  • Python
  • Django
    • 2
    • 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: xxxx@sample.com
      Password: **********
      Password (again): *********
      Superuser created successfully.

    Comments

    Related Posts

    Create Superuser in Django

    Python Django

    2 March 18, 2022, 5:42 p.m.
    PPPP

    Django Project Updating on Server

    Nginx Python Django

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

    Nginx 502 Bad Gateway - Django

    Nginx Python Django

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

    Want to Hire our experts?

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