Django 1.0 'admin' interface
We've had a few customers asking about why their Django admin interface is no longer working, since the upgrade to Django 1.0.
Changes in Django 1.0 required a couple changes to the url.py file in order to access the admin view. Here is an example of how to modify the file:
# Add following lines for 1.0 compat, to top of file
from django.conf.urls.defaults import *
from django.contrib import admin
import os
admin.autodiscover()
# and then under urlpatterns, eg:
urlpatterns = patterns('',
# Remove old entry, eg:
# (r'^admin/', include('django.contrib.admin.urls')),
# Add new entry, eg:
('^admin/(.*)', admin.site.root),