Commits

Jesper Nøhr committed f9d81cd

adding urls.py for django 1.0

Comments (0)

Files changed (1)

 from os import path
 from cx import settings
 from django.conf.urls.defaults import *
+from django.contrib import admin
 
 from cx.apps.blog.feeds import LatestBlogPosts
 from cx.apps.flickr.feeds import LatestPhotos
     (r'^hg/', include('cx.apps.hgwebproxy.urls')),
 
     # django admin
-    (r'^admin/', include('django.contrib.admin.urls')),
+    (r'^admin/', admin.site.root),
     
     # media / static
     (r'^m/(?P<path>.*)$', 'django.views.static.serve', { 'document_root': path.join(settings.MEDIA_ROOT) }),