urls.py
changeset 54 b3f4888a78a1
parent 37 c701e68f8d35
equal deleted inserted replaced
53:5daf523e20b4 54:b3f4888a78a1
    17     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    17     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    18 
    18 
    19     # Uncomment the next line to enable the admin:
    19     # Uncomment the next line to enable the admin:
    20     (r'^admin/', include(admin.site.urls)),
    20     (r'^admin/', include(admin.site.urls)),
    21 
    21 
       
    22     (r'^static/(?P<path>.*)$', 'django.views.static.serve',
       
    23             {'document_root': './static/'}),
       
    24 
    22     url(r'^accounts/register/$', register,
    25     url(r'^accounts/register/$', register,
    23         {'form_class': CustomRegistrationForm},
    26         {'form_class': CustomRegistrationForm},
    24         name='registration_register'),
    27         name='registration_register'),
    25     (r'^accounts/', include('registration.urls')),
    28     (r'^accounts/', include('registration.urls')),
    26     (r'^profile/', include('pytask.profile.urls')),
    29     (r'^profile/', include('pytask.profile.urls')),