14 # to INSTALLED_APPS to enable admin documentation: |
14 # to INSTALLED_APPS to enable admin documentation: |
15 # (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
15 # (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
16 |
16 |
17 # Uncomment the next line to enable the admin: |
17 # Uncomment the next line to enable the admin: |
18 (r'^admin/(.*)', admin.site.root), |
18 (r'^admin/(.*)', admin.site.root), |
19 (r'^$','ws_reg.upload.views.register_user'), |
19 (r'^$','ws_reg.upload.views.upload_file'), |
20 (r'^list/$','ws_reg.upload.views.view_registrants'), |
20 (r'^list/$','ws_reg.upload.views.view_registrants'), |
21 (r'^captcha/', include('captcha.urls')), |
21 (r'^captcha/', include('captcha.urls')), |
22 (r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT }), |
22 (r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT }), |
23 ) |
23 ) |