author | nishanth |
Tue, 20 Apr 2010 15:31:21 +0530 | |
changeset 12 | 81cd0140a0f2 |
parent 11 | afc41af983e5 |
child 16 | ad51f38d0339 |
permissions | -rw-r--r-- |
0 | 1 |
from django.conf.urls.defaults import * |
2 |
||
6 | 3 |
from offline.feedback import views as feed_views |
4 |
from offline.event import views as event_views |
|
12 | 5 |
from offline.quiz import views as quiz_views |
5 | 6 |
|
0 | 7 |
# Uncomment the next two lines to enable the admin: |
8 |
# from django.contrib import admin |
|
9 |
# admin.autodiscover() |
|
10 |
||
11 |
urlpatterns = patterns('', |
|
12 |
# Example: |
|
13 |
# (r'^offline/', include('offline.foo.urls')), |
|
14 |
||
15 |
# Uncomment the admin/doc line below and add 'django.contrib.admindocs' |
|
16 |
# to INSTALLED_APPS to enable admin documentation: |
|
17 |
# (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
|
18 |
||
19 |
# Uncomment the next line to enable the admin: |
|
20 |
# (r'^admin/', include(admin.site.urls)), |
|
7
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
21 |
|
6 | 22 |
(r'^$', event_views.event_home), |
7
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
23 |
(r'^event/admin/(\w+)$', event_views.event_admin), |
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
24 |
(r'^event/create/(\w+)$', event_views.event_create), |
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
25 |
(r'^feedback/submit$', feed_views.submit_feedback), |
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
26 |
(r'^feedback/open/(\w+)$', feed_views.open_feedback), |
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
27 |
(r'^feedback/close/(\w+)$', feed_views.close_feedback), |
10 | 28 |
(r'^feedback/list/(\w+)$', feed_views.list_feedbacks), |
11 | 29 |
(r'^feedback/report/(\w+)$', feed_views.view_report), |
12 | 30 |
(r'^quiz$', quiz_views.start_page), |
31 |
(r'^quiz/start/(\w+)$', quiz_views.start_quiz), |
|
0 | 32 |
) |