aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/urls.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@animus.robocracy.org>2008-08-11 20:45:15 -0700
committerBryan Newbold <bnewbold@animus.robocracy.org>2008-08-11 20:45:15 -0700
commit6a22baa306a72557698d64ac6c09842bed81f66b (patch)
tree137f5d9fb1ef3bc834ee4e037ca2e33f0f4c384f /bn_django/urls.py
parent62dcf136d5b71c0b4d5744ec3551ce82edcc2a94 (diff)
downloadbnewnet-6a22baa306a72557698d64ac6c09842bed81f66b.tar.gz
bnewnet-6a22baa306a72557698d64ac6c09842bed81f66b.zip
more changes, works ok. TODO: comments for git_wiki, redo git_browse...
Diffstat (limited to 'bn_django/urls.py')
-rw-r--r--bn_django/urls.py6
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',