#17492: url backreferencing can not be reversed.
------------------------------+--------------------------------------
Reporter: nate_b | Owner: nate_b
Type: Bug | Status: assigned
Component: Core (Other) | Version: 1.3
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Changes (by SmileyChris):
* needs_better_patch: 0 => 1
Comment:
I've added in a `urlpatterns_reverse` test, and it identifies a problem.
See the commented test line in there:
Currently, reversing a named pattern still works with a list of arguments
as well as a dictionary. Using a named backreference doesn't work with a
list of arguments in the same way (you shouldn't have to provide the name
twice).
Unless this can be resolved, I'm not quite sure that this can be added.
--
Ticket URL: <https://code.djangoproject.com/ticket/17492#comment:4>
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 this group at
http://groups.google.com/group/django-updates?hl=en.