aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2010-07-09 22:46:33 -0400
committerMike Crute <mcrute@gmail.com>2010-07-09 22:46:33 -0400
commit94d87b109f08187f64ed54232e82cef5ae842a4e (patch)
tree27e39ec66c6ad85adf8bfa05f62dca1f45e1106c
parent970eeafc1edd7f5889cb6584be292ae9aa07b135 (diff)
downloadsnakeplan-94d87b109f08187f64ed54232e82cef5ae842a4e.tar.bz2
snakeplan-94d87b109f08187f64ed54232e82cef5ae842a4e.tar.xz
snakeplan-94d87b109f08187f64ed54232e82cef5ae842a4e.zip
Moving static file routes.
-rw-r--r--snakeplan/urls.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/snakeplan/urls.py b/snakeplan/urls.py
index 59b85db..168390d 100644
--- a/snakeplan/urls.py
+++ b/snakeplan/urls.py
@@ -25,7 +25,8 @@ from django.contrib import admin
25admin.autodiscover() 25admin.autodiscover()
26 26
27# Just get the admin stuff, don't actually do anything with it 27# Just get the admin stuff, don't actually do anything with it
28from snakeplan.projects import admin as snakeplan_admin 28from snakeplan.projects import admin as _
29from snakeplan.accounts import admin as _
29 30
30 31
31urlpatterns = patterns('django.views.generic.simple', 32urlpatterns = patterns('django.views.generic.simple',
@@ -38,5 +39,5 @@ urlpatterns = patterns('django.views.generic.simple',
38urlpatterns += patterns('', 39urlpatterns += patterns('',
39 (r'^admin/', include(admin.site.urls)), 40 (r'^admin/', include(admin.site.urls)),
40 (r'^p/', include('projects.urls')), 41 (r'^p/', include('projects.urls')),
41 (r'^static/(?P<path>.*)$', static.serve, {'document_root':'../static'}), 42 (r'^media/(?P<path>.*)$', static.serve, {'document_root':'templates/media'}),
42) 43)