urls.py
changeset 12 81cd0140a0f2
parent 11 afc41af983e5
child 16 ad51f38d0339
equal deleted inserted replaced
11:afc41af983e5 12:81cd0140a0f2
     1 from django.conf.urls.defaults import *
     1 from django.conf.urls.defaults import *
     2 
     2 
     3 from offline.feedback import views as feed_views
     3 from offline.feedback import views as feed_views
     4 from offline.event import views as event_views
     4 from offline.event import views as event_views
       
     5 from offline.quiz import views as quiz_views
     5 
     6 
     6 # Uncomment the next two lines to enable the admin:
     7 # Uncomment the next two lines to enable the admin:
     7 # from django.contrib import admin
     8 # from django.contrib import admin
     8 # admin.autodiscover()
     9 # admin.autodiscover()
     9 
    10 
    24     (r'^feedback/submit$', feed_views.submit_feedback),
    25     (r'^feedback/submit$', feed_views.submit_feedback),
    25     (r'^feedback/open/(\w+)$', feed_views.open_feedback),
    26     (r'^feedback/open/(\w+)$', feed_views.open_feedback),
    26     (r'^feedback/close/(\w+)$', feed_views.close_feedback),
    27     (r'^feedback/close/(\w+)$', feed_views.close_feedback),
    27     (r'^feedback/list/(\w+)$', feed_views.list_feedbacks),
    28     (r'^feedback/list/(\w+)$', feed_views.list_feedbacks),
    28     (r'^feedback/report/(\w+)$', feed_views.view_report),
    29     (r'^feedback/report/(\w+)$', feed_views.view_report),
       
    30     (r'^quiz$', quiz_views.start_page),
       
    31     (r'^quiz/start/(\w+)$', quiz_views.start_quiz),
    29 )
    32 )