#10061: incorrect logout link in admin
-------------------------------------------+--------------------------------
          Reporter:  lashni                |         Owner:  Alex
            Status:  reopened              |     Milestone:  1.1 
         Component:  django.contrib.admin  |       Version:  SVN 
        Resolution:                        |      Keywords:      
             Stage:  Accepted              |     Has_patch:  0   
        Needs_docs:  0                     |   Needs_tests:  0   
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by Johan):

 This does not fix the issue. If i add my admin site on another url like
 so:

  (r'^adminxx/', include(admin.site.urls)),

 Then the admin url's are wrong again.

 Replying to [comment:15 treworld]:
 > '''To fix this problem:'''
 >
 > 1) Open django_directory/contrib/admin/sites.py.
 >
 > 2) Find "self.root_path = 'admin/'" (around line 41).
 >
 > 3) Replace it with "self.root_path = '/admin/'".
 >
 > 4) Save and restart your app/server.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10061#comment:17>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to