urls.py
changeset 2 4d2bbb2f3c4e
parent 0 5fb12cd6d64d
child 4 ac11fee16880
--- a/urls.py	Wed Sep 02 17:19:11 2009 +0530
+++ b/urls.py	Wed Sep 02 19:34:48 2009 +0530
@@ -6,7 +6,7 @@
 
 urlpatterns = patterns('',
     # Example:
-    # (r'^spoken_tut/', include('spoken_tut.foo.urls')),
+    # (r'^ocr/', include('ocr.foo.urls')),
 
     # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
     # to INSTALLED_APPS to enable admin documentation:
@@ -14,4 +14,7 @@
 
     # 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/'}),
 )