fnp
/
koed-quiz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused templates.
[koed-quiz.git]
/
apps
/
quiz
/
urls.py
diff --git
a/apps/quiz/urls.py
b/apps/quiz/urls.py
index
ae5c683
..
6241cd8
100644
(file)
--- a/
apps/quiz/urls.py
+++ b/
apps/quiz/urls.py
@@
-1,8
+1,12
@@
-from django.conf.urls.defaults import *
+# -*- coding: utf-8 -*-
+# This file is part of KOED-Quiz, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
+from django.conf.urls import patterns, url
urlpatterns = patterns('quiz.views',
url(r'^$', 'question', name='quiz'),
urlpatterns = patterns('quiz.views',
url(r'^$', 'question', name='quiz'),
- url(r'^q/(?P<slug>[
-a-z0-9
]*)/$', 'question', name='quiz'),
- url(r'^r/(?P<slug>[
-a-z0-9
]*)/$', 'result', name='quiz_result'),
+ url(r'^q/(?P<slug>[
^/
]*)/$', 'question', name='quiz'),
+ url(r'^r/(?P<slug>[
^/
]*)/$', 'result', name='quiz_result'),
)
)