#35670: Unclear docs for LoginRequiredMiddleware.get_login_url()
--------------------------------------+------------------------------------
     Reporter:  Claude Paroz          |                    Owner:  (none)
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Documentation         |                  Version:  5.1
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  1                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Sarah Boyce):

 * stage:  Unreviewed => Accepted

Comment:

 Agreed this could be worded better.
 {{{
 If ``login_url`` is set on the
 :func:`~.django.contrib.auth.decorators.login_required`
 decorator, this is returned. Otherwise, returns
 :setting:`settings.LOGIN_URL <LOGIN_URL>`.
 }}}
 (as another option)
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35670#comment:2>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107019147858ee4-9bfd0af7-4b9c-4b92-a83e-a613e640d9ce-000000%40eu-central-1.amazonses.com.

Reply via email to