urls.py
author Shantanu <shantanu@fossee.in>
Wed, 02 Sep 2009 19:34:48 +0530
changeset 2 4d2bbb2f3c4e
parent 0 5fb12cd6d64d
child 4 ac11fee16880
permissions -rw-r--r--
Added models and views.

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'^$','upload.views.upload_file'),
	(r'^download/$','spoken_tut.upload.views.file_archive'),
	(r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'template/'}),
)