www.bignlife.in--[e-mail sending Job]-- Reverse and variables in template

0 views
Skip to first unread message

youpsla

unread,
Nov 24, 2011, 7:48:09 PM11/24/11
to django...@googlegroups.com
Hello,

The following line in my template return an error:
<a href="{% url url_name {{ magasin.id }} {{ evenement.id }} %}">Modifier</a>

Error is:
Could not parse the remainder: '{{' from '{{'

If i use (has view in the doc):
<a href="{% url url_name 5 25 %}">Modifier</a>
it works fine.

Then is the syntax {% url url_name {{model.field}} %} allowed ?

Somebody has an idea ?

Thanks for your precious help.

Regards

youpsla

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/1IxshdRdwksJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
Go to Master Mind Web Earner Blog :-
 
http://adf.ly/624707/www.bignlife.in
 
http://adf.ly/624707/www.bignlife.in
 
Unsubscribe All Group Post :- http://j.gs/624707/unsubscribe

http://q.gs/624707/unsubscribe
 
 
 
Subscribe All Group Post :- http://j.gs/624707/subscribe
 
http://q.gs/624707/subscribe
 
Make Money E-mail Sending Job :-
 
http://adf.ly/624707/www.bignlife.in
 
http://adf.ly/624707/www.bignlife.in
 
http://adf.ly/624707/www.bignlife.in
 
http://adf.ly/624707/www.bignlife.in
 
http://adf.ly/624707/www.bignlife.in
 
http://adf.ly/624707/www.bignlife.in
 
http://adf.ly/624707/www.bignlife.in
 
http://adf.ly/624707/www.bignlife.in
 
http://adf.ly/624707/www.bignlife.in
 
http://adf.ly/624707/www.bignlife.in
 
http://adf.ly/624707/www.bignlife.in

youpsla

unread,
Nov 24, 2011, 8:15:16 PM11/24/11
to django...@googlegroups.com
Thnaks a lots,
it works.

Youpsla

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ZATE6UT7dWwJ.
Reply all
Reply to author
Forward
0 new messages