Q. Which Django command creates an admin user?

  • (A) python manage.py createadmin
  • (B) python manage.py createsuperuser
  • (C) python manage.py addadmin
  • (D) python manage.py registeradmin
πŸ’¬ Discuss
βœ… Correct Answer: (B) python manage.py createsuperuser
Explanation: `createsuperuser` is used to create a superuser for the Django admin interface.
Explanation by: Mr. Dubey
`createsuperuser` is used to create a superuser for the Django admin interface.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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