A

Admin • 828.03K Points
Coach

Q. How do you register a model with the admin site?

  • (A) Using models.register()
  • (B) Using admin.site.register()
  • (C) By editing urls.py
  • (D) By using views.py
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
`admin.site.register()` is used to register models in the admin interface.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.