#13714: Login Required decorator should support LOGIN_URL
--------------------------------------------------+-------------------------
Reporter: [email protected] | Owner: mhlakhani
Status: assigned | Milestone:
Component: Authentication | Version:
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 1 | Needs_tests: 1
Needs_better_patch: 1 |
--------------------------------------------------+-------------------------
Changes (by SmileyChris):
* needs_better_patch: 0 => 1
* version: 1.2 =>
Comment:
You'd also want to make the new argument the last, as some people will be
using positional arguments to call the decorator.
But yeah, it seems useful enough to add (and no backwards compatibility
issues after the argument is moved to the end).
--
Ticket URL: <http://code.djangoproject.com/ticket/13714#comment:5>
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.