2014-10-04 09:22:47 +00:00
|
|
|
from django.conf.urls import patterns, include, url
|
2011-12-14 13:14:09 +00:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2017-06-20 02:20:46 +00:00
|
|
|
import questionnaire
|
|
|
|
|
2009-05-17 11:34:55 +00:00
|
|
|
admin.autodiscover()
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2011-12-17 10:21:42 +00:00
|
|
|
|
2014-10-04 09:22:47 +00:00
|
|
|
url(r'^$', 'questionnaire.page.views.page', {'page_to_render' : 'index'}),
|
2017-06-20 02:20:46 +00:00
|
|
|
url(r'q/', include('questionnaire.urls')),
|
2011-12-17 10:21:42 +00:00
|
|
|
|
2017-06-20 02:20:46 +00:00
|
|
|
# admin
|
2011-12-14 13:14:09 +00:00
|
|
|
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
|
|
|
url(r'^admin/', include(admin.site.urls)),
|
2009-05-17 11:34:55 +00:00
|
|
|
)
|