Re: How to concatenate strings in django templates?

2010-12-08 Thread Russell Keith-Magee
On Wed, Dec 8, 2010 at 8:27 PM, Javier Guerra Giraldez
 wrote:
> On Wed, Dec 8, 2010 at 5:39 AM, Muhammad Ahsan
>  wrote:
>> {% extend shop/shop_name/base.html %}
>
> shop/{{shop_name}}/base.html
>
>
> ... and this is the wrong list

If you're going to respond like this, it's only polite to point out
*why* this is the wrong list, and direct the author to the more
appropriate venue.

In this case, django-users would be a better place to post --
django-developers is for discussing the development of Django itself,
not for general how-to queries.

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.



Re: How to concatenate strings in django templates?

2010-12-08 Thread Иван Маркеев
You can put variable with needed path from view or url to your template.

08.12.2010 17:23 пользователь "Muhammad Ahsan" 
написал:


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 django-develop...@googlegroups.com.
To unsubscribe from this group, send email to
django-developers+unsubscr...@googlegroups.com
.
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 django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.



Re: How to concatenate strings in django templates?

2010-12-08 Thread Javier Guerra Giraldez
On Wed, Dec 8, 2010 at 5:39 AM, Muhammad Ahsan
 wrote:
> {% extend shop/shop_name/base.html %}

shop/{{shop_name}}/base.html


... and this is the wrong list

-- 
Javier

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.



How to concatenate strings in django templates?

2010-12-08 Thread Muhammad Ahsan

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 django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.