author | nishanth |
Tue, 29 Jun 2010 11:38:04 +0530 | |
changeset 59 | 0b57494e8b4e |
parent 44 | ffc035725a4e |
child 72 | 665287ab8e3a |
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), |
41 | 25 |
|
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
|
26 |
(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
|
27 |
(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
|
28 |
(r'^feedback/close/(\w+)$', feed_views.close_feedback), |
10 | 29 |
(r'^feedback/list/(\w+)$', feed_views.list_feedbacks), |
11 | 30 |
(r'^feedback/report/(\w+)$', feed_views.view_report), |
41 | 31 |
|
23 | 32 |
(r'^quiz/open/(\w+)$', event_views.open_quiz), |
26 | 33 |
(r'^quiz/close/(\w+)$', event_views.close_quiz), |
12 | 34 |
(r'^quiz$', quiz_views.start_page), |
33
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
26
diff
changeset
|
35 |
(r'^quiz/intro/(\w+)$', quiz_views.quiz_intro), |
18 | 36 |
(r'^quiz/start/$', quiz_views.start_quiz), |
17 | 37 |
(r'^quiz/answer/(\w+)$', quiz_views.answer), |
21 | 38 |
(r'^quiz/complete/$', quiz_views.quiz_complete), |
41 | 39 |
|
40 |
(r'^quiz/toppers/(\w+)/(\w+)$', event_views.list_toppers), |
|
44 | 41 |
(r'^quiz/user_dump/(\w+)/(\w+)/(\w+)$', event_views.user_dump), |
42 |
(r'^quiz/que_dump/(\w+)/(\w+)$', event_views.que_dump), |
|
0 | 43 |
) |