i have a hardwired URL in my template:

/djggApp/guest/{{ guest.guestId }}/update/

that successfully matches against this url pattern:

url(r'^guest/(\d+)/update$', login_required(views.GuestUpdate.as_view()), 
name='updateGuest'),


now i am trying to replace the template code with a more modern reverse 
lookup via a url tag:

{% url 'djggApp/guest' guest.guestId 'update'%}

but this generates a *NoReverseMatch* error

*Reverse for 'djggApp/guest' with arguments '(1, u'update')' and keyword 
arguments '{}' not found. 0 pattern(s) tried: []*


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/693fabd3-a170-4228-9d40-711567ab580b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to