Get current quiz by domain from request.
[koed-quiz.git] / apps / quiz / urls.py
1 # -*- coding: utf-8 -*-
2 # This file is part of KOED-Quiz, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 #
5 from django.conf.urls import patterns, url
6
7
8 urlpatterns = patterns('quiz.views',
9     url(r'^$', 'question', name='quiz'),
10     url(r'^q/(?P<slug>[^/]*)/$', 'question', name='quiz'),
11     url(r'^r/(?P<slug>[^/]*)/$', 'result', name='quiz_result'),
12 )