#11770: Allow login_required to specify login_url like user_passes_test ---------------------------------------------+------------------------------ Reporter: anonymous | Owner: nobody Status: new | Milestone: Component: Authentication | Version: SVN Resolution: | Keywords: login auth Stage: Design decision needed | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------+------------------------------ Changes (by Mnewman):
* needs_better_patch: => 0 * component: Uncategorized => Authentication * needs_tests: => 0 * summary: Allow login_required to specify a custom login_url => Allow login_required to specify login_url like user_passes_test * version: 1.1 => SVN * needs_docs: => 0 * has_patch: 0 => 1 * stage: Unreviewed => Design decision needed Comment: This is interesting and pretty trivial IMO. Marking DDN and putting a patch up that I think accomplishes this right and changes the docs. Also adds the other part of the docs for user_passes_test and changes absolute URL to absolute path, both of which should probably be their own tickets. -- Ticket URL: <http://code.djangoproject.com/ticket/11770#comment:1> 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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---