On Mon, Jan 25, 2010 at 12:02 PM, Achim Domma <do...@procoders.net> wrote:

> Hi,
>
> one of my url mappings is defined like this:
>
> url(r'^del/(?P<id>.{1,100})', 'xyz.delete', name='deleteitem')
>
> In my template I try this:
>
> <li><a href="{% url 'xyz.delete' item.id %}">{{ item.field1 }}</a></li>
>

Remove the quotes from around xyz.delete when you specify it in the {% url
%} tag.

Karen

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to