urls.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Wed, 02 Sep 2009 20:17:47 +0530
changeset 5 962b45987a02
parent 4 ac11fee16880
child 7 e49daa7af035
permissions -rw-r--r--
Updated settings.py.

from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^ocr/', include('ocr.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/(.*)', admin.site.root),
	(r'^$','spoken_tut.upload.views.upload_file'),
	(r'^download/$','spoken_tut.upload.views.file_archive'),
	(r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
)