Home page redirect.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Thu, 06 Aug 2009 12:13:42 +0530
changeset 2 023ed68d5b5b
parent 1 324233b04d76
child 3 252a2d9713a5
Home page redirect.
app/urls.py
--- a/app/urls.py	Tue Aug 04 19:42:47 2009 +0530
+++ b/app/urls.py	Thu Aug 06 12:13:42 2009 +0530
@@ -12,15 +12,18 @@
 
     # 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')),
+    #(r'^admin/doc/', include('django.contrib.admindocs.urls')),
 
     # Uncomment the next line to enable the admin:
     (r'^admin/', include(admin.site.urls)),
+    (r'^$', 'app.projrev.views.base.home'),
     (r'^login/$', 'app.projrev.views.login.login_validate'),
     (r'^create_account/$', 'app.projrev.views.login.create_account'),
     (r'^forgot_password/$', 'app.projrev.views.login.forgot_password'),
     (r'^logout/$', 'app.projrev.views.login.logout_view'),
     (r'^proposal/submit/$', 'app.projrev.views.proposal.submit'),
+    (r'^proposal/submit/(?P<micr_code>[A-Z]{6}\d{9})/$',
+     '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'),