diff options
author | Nishanth Amuluru | 2011-01-07 13:46:11 +0530 |
---|---|---|
committer | Nishanth Amuluru | 2011-01-07 13:46:11 +0530 |
commit | c2adda8673d18f3e7172209de1cff8c6c4f2a214 (patch) | |
tree | 8759a0e085a80c33ab26c543b4c14c96f20ed96c | |
parent | 5b41bfe02d748a6d3a2d3eb5b14ff13757368310 (diff) | |
download | pytask-c2adda8673d18f3e7172209de1cff8c6c4f2a214.tar.gz pytask-c2adda8673d18f3e7172209de1cff8c6c4f2a214.tar.bz2 pytask-c2adda8673d18f3e7172209de1cff8c6c4f2a214.zip |
added url to serve css as a static page
-rwxr-xr-x | urls.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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'), |