urls.py
changeset 4 ac11fee16880
parent 2 4d2bbb2f3c4e
child 5 962b45987a02
equal deleted inserted replaced
3:eb11f0116216 4:ac11fee16880
    12     # to INSTALLED_APPS to enable admin documentation:
    12     # to INSTALLED_APPS to enable admin documentation:
    13     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    13     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    14 
    14 
    15     # Uncomment the next line to enable the admin:
    15     # Uncomment the next line to enable the admin:
    16     # (r'^admin/(.*)', admin.site.root),
    16     # (r'^admin/(.*)', admin.site.root),
    17 	(r'^$','upload.views.upload_file'),
    17 	(r'^$','spoken_tut.upload.views.upload_file'),
    18 	(r'^download/$','spoken_tut.upload.views.file_archive'),
    18 	(r'^download/$','spoken_tut.upload.views.file_archive'),
    19 	(r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'template/'}),
    19 	(r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'template/'}),
    20 )
    20 )