Hi there!

I just don't get the url template tag to work. After reading the docs 5
times and trying every possible name-param combination, I'm about to
start hardcoding all my urls.

A line of my url.py looks like this:
url(r'^categoria/(?P<category>[-\w]+)/(?P<entry>[0-9]+)/$',
'view_entry', name="anuncios-entry-detail")

Which works like a charm, but

{% url view_entry entry.category.slug,entry.id %}

won't work, same as

{% url full_path.view_entry entry.category.slug,entry.id %}

(Think of full_path as the full python path).

Any ideas? I'd certainly like to use the url tag, and I need it to work
with a few params.

thanks!

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to