aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@snark.mit.edu>2009-01-18 00:34:21 -0500
committerbryan newbold <bnewbold@snark.mit.edu>2009-01-18 00:34:21 -0500
commitcd98a4f09f4d6a7676b9c4685ac9805a93533c0a (patch)
tree23958156cd57a5e03fff95ca69313b74ce784815 /bn_django
parentba1656b83cc6e81c15d1f132686a1d8d4580ee5c (diff)
downloadbnewnet-cd98a4f09f4d6a7676b9c4685ac9805a93533c0a.tar.gz
bnewnet-cd98a4f09f4d6a7676b9c4685ac9805a93533c0a.zip
urls.py is site specific
Diffstat (limited to 'bn_django')
-rw-r--r--bn_django/urls.py.example (renamed from bn_django/urls.py)15
1 files changed, 8 insertions, 7 deletions
diff --git a/bn_django/urls.py b/bn_django/urls.py.example
index fa8b083..aa9e079 100644
--- a/bn_django/urls.py
+++ b/bn_django/urls.py.example
@@ -40,11 +40,12 @@ urlpatterns = patterns('',
(r'^admin/(.*)', admin.site.root),
(r'^comments/', include('django.contrib.comments.urls')),
- (r'^static/(?P<path>.*)$', 'django.views.static.serve',
- {'document_root': '/home/bnewbold/bn-project/static',
- 'show_indexes': True}),
- (r'^style/(?P<path>.*)$', 'django.views.static.serve',
- {'document_root': '/home/bnewbold/bn-project/static/style'}),
- (r'^media/(?P<path>.*)$', 'django.views.static.serve',
- {'document_root': '/home/bnewbold/bn-project/media'}),
+ # uncomment for development
+ #(r'^static/(?P<path>.*)$', 'django.views.static.serve',
+ # {'document_root': '/home/bnewbold/code/bn-project/static',
+ # 'show_indexes': True}),
+ #(r'^style/(?P<path>.*)$', 'django.views.static.serve',
+ # {'document_root': '/home/bnewbold/code/bn-project/static/style'}),
+ #(r'^media/(?P<path>.*)$', 'django.views.static.serve',
+ # {'document_root': '/home/bnewbold/code/bn-project/media'}),
)