MIDDLEWARE_CLASSES should now be named MIDDLEWARE, the messages app is
now required by admin (was before as well but not enforced) and the
include syntax for the admin site has changed.
# Make this unique, and don't share it with anybody.
SECRET_KEY = '#!n9!a8@q)6y^yq&$6zij_=#g*o52ogc=1uch)d0!hb%-5&w!_'
-MIDDLEWARE_CLASSES = (
+MIDDLEWARE = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
+ 'django.contrib.messages',
'gitadmin.adm',
'django.contrib.admin',
)
urlpatterns = [
# Uncomment the next line to enable the admin:
- url(r'^adm/admin/', include(admin.site.urls)),
+ url(r'^adm/admin/', admin.site.urls),
# Feeds
url(r'^feeds/all/$', AllReposFeed()),