#13714: Login Required decorator should support LOGIN_URL -----------------------------------------+---------------------------------- Reporter: [email protected] | Owner: nobody Status: new | Milestone: Component: Authentication | Version: 1.2 Keywords: | Stage: Unreviewed Has_patch: 0 | -----------------------------------------+---------------------------------- In django.contrib.auth.decorators, both the user_passes_test and permission_required decorators allow the caller to specify a custom LOGIN_URL to redirect visitors to. However, the login_required decorator does not allow the caller to specify a custom login URL. This feature would be helpful in my opinion and not hard to add.
-- Ticket URL: <http://code.djangoproject.com/ticket/13714> 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.
