S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which of these is a valid template tag for rendering variables?

  • (A) [[ variable ]]
  • (B) {{ variable }}
  • (C) <%= variable %>
  • (D) [= variable =]
  • Correct Answer - Option(B)
  • Views: 14
  • Filed under category Django
  • Hashtags:

Explanation by: Shyam Dubey
In Django templates, variables are rendered using double curly braces.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.