Re: Custom tag inside a block tag. Django templates

2012-06-10 Thread Даниил Рыжков
Can you please submit error you get? {{ var }} is for varaibles, not for tags. 2012/6/11 David Gómez > Hello everyone. > > In Django 1.2.5 I had something like: > > {% block contact %} > rel="stylesheet" /> > {% endblock %} > > Where custom_tag returns a single url. Now, in Django 1.4 this is n

Custom tag inside a block tag. Django templates

2012-06-10 Thread David Gómez
Hello everyone. In Django 1.2.5 I had something like: {% block contact %} {% endblock %} Where custom_tag returns a single url. Now, in Django 1.4 this is not working and I have to change {% custom_tag %} for {{ custom_tag }} in order to make it work. Why? Best regards, David Gómez. -- You