Hello dear Django community,

I'm desperately trying to get the url template tag working. This is my
template's source code: 
http://bitbucket.org/codethief/pybsd/src/e3b41c08ed90/tpl/devices/geraetegruppen.xhtml
And here are my URL settings: 
http://bitbucket.org/codethief/pybsd/src/e3b41c08ed90/urls.py
and http://bitbucket.org/codethief/pybsd/src/e3b41c08ed90/devices/urls.py

Surprisingly, I don't even get a NoReverseMatch exception but a
TemplateSyntaxError when trying to visit 
http://localhost:8000/devices/geraetegruppen:

TemplateSyntaxError at /devices/geraetegruppen
Caught an exception while rendering: Reverse for
'pybsd.devices.views.html.geraete' with arguments '()' and keyword
arguments '{'geraetegruppe': 104}' not found.
In template /home/simon/projekte/pybsd/tpl/devices/
geraetegruppen.xhtml, error at line 26

... which is the line: {% for geraetegruppe in geraetegruppen %}
(Shouldn't line 33 get highlighted? BTW: Please ignore the #s which I
added to commit a working version.)

By the way: I also tried {% url devices.views.html.geraete ... %}, {%
url views.html.geraete ... %}, {% url html.geraete ... %} and named
URL patterns. None of this worked.

Thanks in advance!

-- 
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