#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: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Comment (by carljm):
Replying to [comment:21 dalore]:
> Also with the latest trunk (with this patch removed), the admin urls are
working again. So I think this patch might not be needed.
This problem does still exist in Django trunk r10526.
In case it's helpful to others: the simplest and least invasive temporary
workaround is to just add this line in your urls.py:
{{{
admin.site.root_path = '/admin/'
}}}
If you run the admin at an alternate URL, just use the correct one here;
if you run multiple admin instances, you can set the root_path for each
one in the same way.
--
Ticket URL: <http://code.djangoproject.com/ticket/10061#comment:23>
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
-~----------~----~----~----~------~----~------~--~---