app/urls.py
changeset 0 c94bd9ae70d2
child 1 324233b04d76
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/urls.py	Tue Aug 04 02:21:15 2009 -0400
@@ -0,0 +1,31 @@
+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'^app/', include('app.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/', include(admin.site.urls)),
+    (r'^login/$', 'app.projrev.views.login.login_validate'),
+    (r'^logout/$', 'app.projrev.views.login.logout_view'),
+    (r'^proposal/submit/$', 'app.projrev.views.proposal.submit'),
+    (r'^proposal/review/$', 'app.projrev.views.proposal.review'),
+    (r'^proposal/review/(?P<micr_code>[A-Z]{6}\d{9})/$', 
+     'app.projrev.views.proposal.review'),
+    (r'^proposal/rank/$', 'app.projrev.views.proposal.rank'),
+    (r'^proposal/rank/(?P<micr_code>[A-Z]{6}\d{9})$',
+     'app.projrev.views.proposal.rank'),
+    (r'^site-content/(?P<path>.*)', 'django.views.static.serve',
+        {'document_root': settings.MEDIA_ROOT}),
+
+)