Q. What is the correct way to create a superuser in Django?

  • (A) python manage.py createsuperuser
  • (B) python manage.py makesuperuser
  • (C) python manage.py admin
  • (D) python manage.py rootuser
πŸ’¬ Discuss
βœ… Correct Answer: (A) python manage.py createsuperuser
Explanation: `createsuperuser` is the correct command to create an admin user in Django.
Explanation by: Mr. Dubey
`createsuperuser` is the correct command to create an admin user in Django.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
77
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate