urls.py
changeset 12 10d86ada90c2
parent 6 9f3c0f4908f6
child 14 b4f4d4e8c03e
equal deleted inserted replaced
11:ae643a9734f3 12:10d86ada90c2
    17     # to INSTALLED_APPS to enable admin documentation:
    17     # to INSTALLED_APPS to enable admin documentation:
    18     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    18     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    19 
    19 
    20     # Uncomment the next line to enable the admin:
    20     # Uncomment the next line to enable the admin:
    21         (r'^admin/(.*)', admin.site.root),
    21         (r'^admin/(.*)', admin.site.root),
    22 	(r'^$','ws_reg.upload.views.upload_file'),
    22 	(r'^$','ws_reg.upload.views.register_user'),
       
    23         (r'^list/$','upload.views.view_registrants'),
    23         (r'^captcha/', include('captcha.urls')), 	
    24         (r'^captcha/', include('captcha.urls')), 	
    24         (r'^databrowse/(.*)',databrowse.site.root),        
    25         (r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT }),
    25 	(r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT }),
       
    26 )
    26 )