Don't use brackets around the variables.
On Nov 25, 2011, at 1:48, youpsla <youp...@gmail.com> wrote: > 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-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.