S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What does the admin.site.register() function do?

  • (A) Creates a new admin user
  • (B) Adds a model to the admin interface
  • (C) Registers an app
  • (D) Starts the admin server
  • Correct Answer - Option(B)
  • Views: 9
  • Filed under category Django
  • Hashtags:

Explanation by: Shyam Dubey
admin.site.register() makes a model accessible through the admin interface.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.