aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django
diff options
context:
space:
mode:
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'}),
)