equal
deleted
inserted
replaced
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'^$','spoken_tut.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': settings.MEDIA_ROOT}), |
20 ) |
20 ) |