Re: template {% url } tag syntax

2017-02-26 Thread Carsten Fuchs
Hi Richard, Am 27.02.2017 um 04:01 schrieb Richard Belew: {%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: []/ In the {% url %},

Re: template {% url } tag syntax

2017-02-26 Thread Richard Belew
i should also probably say that the url spec is in the djggApp's specific urls.py file, included in the project's urls.py my primary reference is the url tag reference doc but i must not be composing its arguments correctly?

template {% url } tag syntax

2017-02-26 Thread Richard Belew
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