#19661: admin_urlname does not work as advertised
---------------------------------+--------------------
Reporter: david.reitter@… | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------
This fails to work in my template (1.5rc1):
{% url opts|admin_urlname: 'delete' a.pk %}
I get "Invalid filter: 'admin_urlname'. The syntax of 'url' changed in
Django 1.5, see the docs.".
I've tried different variants of quoting to comply with the syntax, but no
dice.
If there is no bug, I think the documentation needs to be updated at:
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#reversing-admin-
urls
--
Ticket URL: <https://code.djangoproject.com/ticket/19661>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.