- Remove usage of django.urls.patterns - Change urls tuples to lists - Make all string view names callables - This is the third urls update for LMS
13 lines
307 B
Python
13 lines
307 B
Python
"""
|
|
URL mappings for the Survey feature
|
|
"""
|
|
|
|
from django.conf.urls import url
|
|
|
|
from survey import views
|
|
|
|
urlpatterns = [
|
|
url(r'^(?P<survey_name>[0-9A-Za-z]+)/$', views.view_survey, name='view_survey'),
|
|
url(r'^(?P<survey_name>[0-9A-Za-z]+)/answers/$', views.submit_answers, name='submit_answers'),
|
|
]
|