first commit - first working version
This commit is contained in:
commit
f0d574d192
20 changed files with 1480 additions and 0 deletions
16
anonsurvey/urls.py
Normal file
16
anonsurvey/urls.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
from django.conf.urls import patterns, url
|
||||
from anonsurvey import views
|
||||
from django.views.generic import TemplateView
|
||||
|
||||
|
||||
urlpatterns = patterns(
|
||||
'',
|
||||
url(r'^$', views.SurveysView.as_view(), name='surveys'),
|
||||
url(r'^survey_thanks/$',
|
||||
TemplateView.as_view(template_name='anonsurvey/survey_thanks.html'),
|
||||
name='survey_thanks'),
|
||||
url(r'^(?P<slug>[\w-]+)/form/$', views.SurveyView.as_view(),
|
||||
name='survey'),
|
||||
url(r'^(?P<pk>\d+)/complete/$', views.complete_survey,
|
||||
name="survey_complete"),
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue