urls.py
changeset 6 8929b82c1dbb
parent 5 9a671f3eb24c
child 7 dfedb369f32e
equal deleted inserted replaced
5:9a671f3eb24c 6:8929b82c1dbb
     1 from django.conf.urls.defaults import *
     1 from django.conf.urls.defaults import *
     2 
     2 
     3 from offline.feedback.views import submit_feedback
     3 from offline.feedback import views as feed_views
       
     4 from offline.event import views as event_views
     4 
     5 
     5 # Uncomment the next two lines to enable the admin:
     6 # Uncomment the next two lines to enable the admin:
     6 # from django.contrib import admin
     7 # from django.contrib import admin
     7 # admin.autodiscover()
     8 # admin.autodiscover()
     8 
     9 
    14     # to INSTALLED_APPS to enable admin documentation:
    15     # to INSTALLED_APPS to enable admin documentation:
    15     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    16     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    16 
    17 
    17     # Uncomment the next line to enable the admin:
    18     # Uncomment the next line to enable the admin:
    18     # (r'^admin/', include(admin.site.urls)),
    19     # (r'^admin/', include(admin.site.urls)),
    19     (r'^feedback/submit', submit_feedback)
    20     (r'^$', event_views.event_home),
       
    21     (r'^feedback/submit', feed_views.submit_feedback)
    20 )
    22 )