Admin site not compatible with Django 1.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
Fix Released
|
Low
|
chrismd |
Bug Description
Per Django 1.0, it seems that you need to change the way the admin site is setup. More details here:
http://
I changed urls.py to:
-------
from django.
from django.conf import settings
from django.contrib import admin
admin.autodisco
urlpatterns = patterns('',
('^admin/(.*)', admin.site.root), #include(
('^render/?', include(
.....
And an admin.py needs to be created in the accounts directory.
This is obviously a very minor issue, but I thought I'd bring it up anyways. While I'm at it, there's a few helpful lines that you can add to the vhost file that's created to make the admin site work with the Django included media, so it's all graphically nice:
<VirtualHost 127.0.1.1:80>
...
<Location "/media/">
</Location>
...
Alias /media/ "/usr/lib/
</VirtualHost>
Changed in graphite: | |
status: | Fix Committed → Fix Released |
Thanks for the report and patch. Just committed this to trunk.