From ff9d51a145c153222e088a7c08d540ea61005395 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 28 Sep 2011 12:49:30 +0200 Subject: [PATCH 1/1] urls fix --- apps/quiz/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'), ) -- 2.20.1