From: Radek Czajka Date: Wed, 28 Sep 2011 10:49:30 +0000 (+0200) Subject: urls fix X-Git-Url: https://git.mdrn.pl/koed-quiz.git/commitdiff_plain/ff9d51a145c153222e088a7c08d540ea61005395 urls fix --- diff --git a/apps/quiz/urls.py b/apps/quiz/urls.py index ae5c683..7189846 100644 --- a/apps/quiz/urls.py +++ b/apps/quiz/urls.py @@ -3,6 +3,6 @@ from django.conf.urls.defaults import * urlpatterns = patterns('quiz.views', url(r'^$', 'question', name='quiz'), - url(r'^q/(?P[-a-z0-9]*)/$', 'question', name='quiz'), - url(r'^r/(?P[-a-z0-9]*)/$', 'result', name='quiz_result'), + url(r'^q/(?P[^/]*)/$', 'question', name='quiz'), + url(r'^r/(?P[^/]*)/$', 'result', name='quiz_result'), )