diff options
Diffstat (limited to 'bn_django/urls.py')
-rw-r--r-- | bn_django/urls.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bn_django/urls.py b/bn_django/urls.py index 7f602e2..f37eca0 100644 --- a/bn_django/urls.py +++ b/bn_django/urls.py @@ -1,8 +1,11 @@ from django.conf.urls.defaults import * from photos.models import Photo from django.contrib.comments.models import Comment,FreeComment +from django.contrib import admin import git_wiki.models +admin.autodiscover() + urlpatterns = patterns('', # Example: # (r'^bn_django/', include('bn_django.foo.urls')), @@ -35,7 +38,8 @@ urlpatterns = patterns('', (r'^search/', include('bn_django.search.urls')), # Uncomment this for admin: - (r'^admin/', include('django.contrib.admin.urls')), + (r'^admin/doc/', include('django.contrib.admindocs.urls')), + (r'^admin/(.*)', admin.site.root), (r'^comments/', include('django.contrib.comments.urls.comments')), (r'^static/(?P<path>.*)$', 'django.views.static.serve', |