summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishanth Amuluru2011-01-07 13:46:11 +0530
committerNishanth Amuluru2011-01-07 13:46:11 +0530
commitc2adda8673d18f3e7172209de1cff8c6c4f2a214 (patch)
tree8759a0e085a80c33ab26c543b4c14c96f20ed96c
parent5b41bfe02d748a6d3a2d3eb5b14ff13757368310 (diff)
downloadpytask-c2adda8673d18f3e7172209de1cff8c6c4f2a214.tar.gz
pytask-c2adda8673d18f3e7172209de1cff8c6c4f2a214.tar.bz2
pytask-c2adda8673d18f3e7172209de1cff8c6c4f2a214.zip
added url to serve css as a static page
-rwxr-xr-xurls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index c1f661f..dae95a6 100755
--- a/urls.py
+++ b/urls.py
@@ -19,6 +19,9 @@ urlpatterns = patterns('',
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
+ (r'^static/(?P<path>.*)$', 'django.views.static.serve',
+ {'document_root': './static/'}),
+
url(r'^accounts/register/$', register,
{'form_class': CustomRegistrationForm},
name='registration_register'),