From c2adda8673d18f3e7172209de1cff8c6c4f2a214 Mon Sep 17 00:00:00 2001 From: Nishanth Amuluru Date: Fri, 7 Jan 2011 13:46:11 +0530 Subject: added url to serve css as a static page --- urls.py | 3 +++ 1 file changed, 3 insertions(+) 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.*)$', 'django.views.static.serve', + {'document_root': './static/'}), + url(r'^accounts/register/$', register, {'form_class': CustomRegistrationForm}, name='registration_register'), -- cgit