urls.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 01 Oct 2009 14:17:44 +0530
changeset 28 56a978b7352e
parent 17 08a47999f316
permissions -rw-r--r--
Removed E-mail address field in the table.

from django.conf.urls.defaults import *
from django.conf import settings

# 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'^submission/$','spoken_tut.upload.views.submission'),
	(r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
)