#19658: Login redirects use wrong URL when application doesn't live on web 
server
root
---------------------------------+--------------------------------------
     Reporter:  david.reitter@…  |                    Owner:  nobody
         Type:  Uncategorized    |                   Status:  closed
    Component:  contrib.auth     |                  Version:  master
     Severity:  Normal           |               Resolution:  worksforme
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------
Changes (by carljm):

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


Comment:

 Thanks for the report! In Django 1.5 hardcoding is no longer the best one
 can do; these `*_URL` settings now accept reversable url names or view
 function names (see e.g.
 https://docs.djangoproject.com/en/dev/ref/settings/#login-redirect-url),
 which should be portable and return correct results (presuming url-
 reversing generally works in your deployment scenario).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19658#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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to