author | Madhusudan.C.S <madhusudancs@gmail.com> |
Mon, 10 Aug 2009 16:54:42 +0530 | |
changeset 35 | c64531b3afb4 |
parent 31 | ef9fdc847543 |
child 38 | 3cb38edbe05f |
permissions | -rw-r--r-- |
0 | 1 |
from django.conf.urls.defaults import * |
2 |
from django.conf import settings |
|
3 |
||
4 |
||
5 |
# Uncomment the next two lines to enable the admin: |
|
6 |
from django.contrib import admin |
|
7 |
admin.autodiscover() |
|
8 |
||
9 |
urlpatterns = patterns('', |
|
10 |
# Example: |
|
11 |
# (r'^app/', include('app.foo.urls')), |
|
12 |
||
13 |
# Uncomment the admin/doc line below and add 'django.contrib.admindocs' |
|
14 |
# to INSTALLED_APPS to enable admin documentation: |
|
2 | 15 |
#(r'^admin/doc/', include('django.contrib.admindocs.urls')), |
0 | 16 |
|
17 |
# Uncomment the next line to enable the admin: |
|
18 |
(r'^admin/', include(admin.site.urls)), |
|
2 | 19 |
(r'^$', 'app.projrev.views.base.home'), |
0 | 20 |
(r'^login/$', 'app.projrev.views.login.login_validate'), |
1 | 21 |
(r'^create_account/$', 'app.projrev.views.login.create_account'), |
22 |
(r'^forgot_password/$', 'app.projrev.views.login.forgot_password'), |
|
0 | 23 |
(r'^logout/$', 'app.projrev.views.login.logout_view'), |
4
8d9da911ed7d
Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
2
diff
changeset
|
24 |
(r'^proposal/submit/$', 'app.projrev.views.proposal.getMicr'), |
22 | 25 |
(r'^proposal/submit/get_dfors$', |
26 |
'app.projrev.views.proposal.getDistrictsForState'), |
|
4
8d9da911ed7d
Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
2
diff
changeset
|
27 |
(r'^proposal/submit/create/$', 'app.projrev.views.proposal.submit'), |
18
05b9e60e6a10
Changed CSS and removed Withdraw proposal.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
15
diff
changeset
|
28 |
# disabled for now. |
05b9e60e6a10
Changed CSS and removed Withdraw proposal.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
15
diff
changeset
|
29 |
# (r'^proposal/withdraw/(?P<micr_code>[A-Z]{6}\d{9})/$', |
05b9e60e6a10
Changed CSS and removed Withdraw proposal.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
15
diff
changeset
|
30 |
# 'app.projrev.views.proposal.withdraw'), |
2 | 31 |
(r'^proposal/submit/(?P<micr_code>[A-Z]{6}\d{9})/$', |
32 |
'app.projrev.views.proposal.submit'), |
|
0 | 33 |
(r'^proposal/review/$', 'app.projrev.views.proposal.review'), |
34 |
(r'^proposal/review/(?P<micr_code>[A-Z]{6}\d{9})/$', |
|
35 |
'app.projrev.views.proposal.review'), |
|
36 |
(r'^proposal/rank/$', 'app.projrev.views.proposal.rank'), |
|
15
8c9e6c98de82
Ranking of proposals view completion.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
4
diff
changeset
|
37 |
(r'^proposal/rank/(?P<micr_code>[A-Z]{6}\d{9})/$', |
0 | 38 |
'app.projrev.views.proposal.rank'), |
31
ef9fdc847543
Added list of My reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
22
diff
changeset
|
39 |
(r'^proposal/myreviews/$', |
ef9fdc847543
Added list of My reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
22
diff
changeset
|
40 |
'app.projrev.views.proposal.listMyReviews'), |
0 | 41 |
(r'^site-content/(?P<path>.*)', 'django.views.static.serve', |
42 |
{'document_root': settings.MEDIA_ROOT}), |
|
43 |
||
44 |
) |