A

Admin • 828.03K Points
Coach

Q. Which of these is a valid template inheritance structure in Django?

  • (A) extends base.html
  • (B) {% extends base.html %}
  • (C) {% extends 'base.html' %}
  • (D) inherit base.html
  • Correct Answer - Option(C)
  • Views: 8
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
The correct syntax to extend a template is {% extends 'base.html' %}.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.