aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--bn_django/urls.py.example (renamed from bn_django/urls.py)15
2 files changed, 9 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index cbc3bd2..dbae627 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@ media
code
bn_django/bn_django.db
bn_django/settings.py
+bn_django/urls.py
bn_django/git_wiki/settings.py
bn_django/git_browse/settings.py
*.pyc
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'}),
)