Commits

Bryan O'Sullivan committed 0e33dd5 Merge

Comments (0)

Files changed (1)

web/hgbook/urls.py

 import os
 from django.conf.urls.defaults import *
 import hgbook.comments.feeds as feeds
+from django.contrib import admin
+
+admin.autodiscover()
 
 feeds = {
     'comments': feeds.Comments,
     #    sys.modules[__name__].__file__) + '/../../en/html'),
 
     # Uncomment this for admin:
-    (r'^admin/', include('django.contrib.admin.urls')),
+    (r'^admin/(.*)', admin.site.root),
 )