from django.conf.urls import url

from .views import QuizListView, QuizTake

app_name = 'quizzes'

urlpatterns = [

    url(regex=r'^$',
        view=QuizListView.as_view(),
        name='quiz_index'),

    #  passes variable 'slug' to the quiz_take view
    url(regex=r'^(?P<slug>[\w-]+)/$',
        view=QuizTake.as_view(),
        name='quiz_take'),

]


8964b9c80374fd1879fb4fd2ed17c1c63b78f258
<mask token>

<mask token>
app_name = 'quizzes'
urlpatterns = [url(regex='^$', view=QuizListView.as_view(), name=
    'quiz_index'), url(regex='^(?P<slug>[\\w-]+)/$', view=QuizTake.as_view(
    ), name='quiz_take')]

from django.conf.urls import url
from .views import QuizListView, QuizTake
app_name = 'quizzes'
urlpatterns = [url(regex='^$', view=QuizListView.as_view(), name=
    'quiz_index'), url(regex='^(?P<slug>[\\w-]+)/$', view=QuizTake.as_view(
    ), name='quiz_take')]

from django.conf.urls import url

from .views import QuizListView, QuizTake

app_name = 'quizzes'

urlpatterns = [

    url(regex=r'^$',
        view=QuizListView.as_view(),
        name='quiz_index'),

    #  passes variable 'slug' to the quiz_take view
    url(regex=r'^(?P<slug>[\w-]+)/$',
        view=QuizTake.as_view(),
        name='quiz_take'),

]

