urls.py
changeset 17 08a47999f316
parent 7 e49daa7af035
equal deleted inserted replaced
16:a5bbfbe5feb1 17:08a47999f316
    14     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    14     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    15 
    15 
    16     # Uncomment the next line to enable the admin:
    16     # Uncomment the next line to enable the admin:
    17     # (r'^admin/(.*)', admin.site.root),
    17     # (r'^admin/(.*)', admin.site.root),
    18 	(r'^$','spoken_tut.upload.views.upload_file'),
    18 	(r'^$','spoken_tut.upload.views.upload_file'),
    19 	(r'^download/$','spoken_tut.upload.views.file_archive'),
    19 	(r'^submission/$','spoken_tut.upload.views.submission'),
    20 	(r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
    20 	(r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
    21 )
    21 )