#5925: Unable to use urlresolvers (url,reverse ) feature in redirect argument of
decorator user_passes_test
-------------------------------------+-------------------------------------
Reporter: anonymous | Owner: SmileyChris
Status: assigned | Milestone: 1.3
Component: Core | Version: SVN
framework | Keywords:
Resolution: |
urlresolver,reverse,decorator,url,permalink
Triage Stage: Design | Has patch: 1
decision needed | Needs tests: 0
Needs documentation: 0 |
Patch needs improvement: 0 |
-------------------------------------+-------------------------------------
Changes (by prestontimmons):
* needs_better_patch: 1 => 0
* needs_tests: 1 => 0
Comment:
Attached is a patch updated for Django 1.3. We also added tests. We
removed the changes that Chris made to the auth decorators, which didn't
apply cleanly, and didn't seem to effect this patch.
--
Ticket URL: <http://code.djangoproject.com/ticket/5925#comment:20>
Django <http://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.