Wednesday, April 16, 2014

Including Page Fragments

Just saw a weird problem while including template fragments:

Works : 
  {% include "page.html" with one_variable="1" %}   

Does not because of the space during the variable assignment : 
   {% include "page.html" with one_variable = "1" %}   

Regards,
Venkat

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN7tdFT-kAGYgw6nioN-JK4a8LSK1_jadx6u0J7fnSt7%2Bo6%3D5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment