You can put variable with needed path from view or url to your template.
08.12.2010 17:23 пользователь "Muhammad Ahsan" <[email protected]>
написал:
I want to concatenate string in django template tag like
{% extend shop/shop_name/base.html %}
here shop_name is my variable and i want to concatenate this with rest
of path. suppese i have shop_name=example.com
and i want result to extend shop/example.com/base.html
plz help. thanx in advance :)
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected]<django-developers%[email protected]>
.
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.