#5925: Unable to use urlresolvers (url,reverse ) feature in redirect argument of
decorator user_passes_test
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: SmileyChris
Status: assigned | Milestone:
Component: Core framework | Version: SVN
Resolution: | Keywords:
urlresolver,reverse,decorator,url,permalink
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by SmileyChris):
PS: for anyone code reviewing, yes `str` is the right type instead of
`unicode`, since reverse passes through `iri_to_uri` which converts it to
a string type.
--
Ticket URL: <http://code.djangoproject.com/ticket/5925#comment:12>
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.