urls.py
author Shantanu <shantanu@fossee.in>
Mon, 25 Jan 2010 16:13:40 +0530
changeset 20 5f5d6bf693af
parent 16 b5bc2bff3055
permissions -rw-r--r--
turned debug=true it is sending mails.

from django.conf.urls.defaults import *
from django.conf import settings
from django.contrib import admin
admin.autodiscover()
from django.contrib.auth.decorators import login_required

from upload.models import Participant

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'^$','ws_reg.upload.views.upload_file'),
        (r'^list/$','ws_reg.upload.views.view_registrants'),
        (r'^captcha/', include('captcha.urls')), 	
        (r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT }),
)