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'),
|
|
24 |
(r'^proposal/submit/$', 'app.projrev.views.proposal.submit'),
|
2
|
25 |
(r'^proposal/submit/(?P<micr_code>[A-Z]{6}\d{9})/$',
|
|
26 |
'app.projrev.views.proposal.submit'),
|
0
|
27 |
(r'^proposal/review/$', 'app.projrev.views.proposal.review'),
|
|
28 |
(r'^proposal/review/(?P<micr_code>[A-Z]{6}\d{9})/$',
|
|
29 |
'app.projrev.views.proposal.review'),
|
|
30 |
(r'^proposal/rank/$', 'app.projrev.views.proposal.rank'),
|
|
31 |
(r'^proposal/rank/(?P<micr_code>[A-Z]{6}\d{9})$',
|
|
32 |
'app.projrev.views.proposal.rank'),
|
|
33 |
(r'^site-content/(?P<path>.*)', 'django.views.static.serve',
|
|
34 |
{'document_root': settings.MEDIA_ROOT}),
|
|
35 |
|
|
36 |
)
|