#19265: deprecate redirect_to_login
-------------------------------------+-------------------------------------
     Reporter:  ptone                |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |                  Version:  master
    Component:  contrib.auth         |               Resolution:  wontfix
     Severity:  Normal               |             Triage Stage:  Design
     Keywords:                       |  decision needed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 `redirect_to_login` is meant to be called from a view function, if you're
 implementing custom access control.

 I agree that it isn't often useful, but it doesn't really hurt either, and
 I don't see much value in removing it without providing a replacement.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19265#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to