Hallöchen!
I cannot get the following working:
In urls.py:
url(r"^samples/(?P<sample_name>.+)/edit/$", sample.edit),
In the template:
{% url 'samples.views.sample.edit' sample_name="whatever" %}
I constantly get a NoReverseMatch, even if I pass the view function
with its full path samples.views.sample.edit in urls.py. I know
that a named url() solves the problem. Is this the only way if I
use a callable in url() (which will become mandatory in Django 2.0)?
Tschö,
Torsten.
--
Torsten Bronger Jabber ID:
torsten...@jabber.rwth-aachen.de
or
http://bronger-jmp.appspot.com