diff options
author | Mike Crute <mcrute@gmail.com> | 2010-07-09 22:46:33 -0400 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2010-07-09 22:46:33 -0400 |
commit | 94d87b109f08187f64ed54232e82cef5ae842a4e (patch) | |
tree | 27e39ec66c6ad85adf8bfa05f62dca1f45e1106c | |
parent | 970eeafc1edd7f5889cb6584be292ae9aa07b135 (diff) | |
download | snakeplan-94d87b109f08187f64ed54232e82cef5ae842a4e.tar.bz2 snakeplan-94d87b109f08187f64ed54232e82cef5ae842a4e.tar.xz snakeplan-94d87b109f08187f64ed54232e82cef5ae842a4e.zip |
Moving static file routes.
-rw-r--r-- | snakeplan/urls.py | 5 |
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 | |||
25 | admin.autodiscover() | 25 | admin.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 |
28 | from snakeplan.projects import admin as snakeplan_admin | 28 | from snakeplan.projects import admin as _ |
29 | from snakeplan.accounts import admin as _ | ||
29 | 30 | ||
30 | 31 | ||
31 | urlpatterns = patterns('django.views.generic.simple', | 32 | urlpatterns = patterns('django.views.generic.simple', |
@@ -38,5 +39,5 @@ urlpatterns = patterns('django.views.generic.simple', | |||
38 | urlpatterns += patterns('', | 39 | urlpatterns += 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 | ) |