Commits

Konstantinos Metaxas committed fc3b21c

update to work on Django 1.1

Comments (0)

Files changed (2)

     'django.middleware.locale.LocaleMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.middleware.doc.XViewMiddleware',
-    'django.middleware.http.SetRemoteAddrFromForwardedFor',
+    #'django.middleware.http.SetRemoteAddrFromForwardedFor',
     'genmap.middleware.ajaxdebug.AJAXSimpleExceptionResponse',
     #'genmap.middleware.threadlocals.ThreadLocals',
     'django_openid.consumer.SessionConsumer',
      url(r'^$','genmap.profile.views.index',name='index'),
 
      #admin
-     url(r'^admin/(.*)', admin.site.root ),
+     url(r'^admin/', include(admin.site.urls)),
 
 )