From: Guillaume Pellerin Date: Thu, 4 Feb 2016 00:33:04 +0000 (+0100) Subject: try fix url X-Git-Tag: 1.1~116 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=33f597a43801fddd8a7f6d806c6127027d987a3e;p=teleforma.git try fix url --- diff --git a/teleforma/urls.py b/teleforma/urls.py index 313962c9..a94aa9f3 100644 --- a/teleforma/urls.py +++ b/teleforma/urls.py @@ -58,8 +58,8 @@ urlpatterns = patterns('', # (r'^accounts/register0/$', RegistrationView.as_view(), {'form_class':CustomRegistrationForm}), url(r'^accounts/register/$', UserAddView.as_view(), name="teleforma-register"), url(r'^accounts/register/(?P.*)/complete/$', UserCompleteView.as_view(), name="teleforma-register-complete"), - url(r'^accounts/register/(?P.*)/download/?format=pdf$', RegistrationPDFViewDownload.as_view(), name="teleforma-registration-download"), - url(r'^accounts/register/(?P.*)/view/?format=pdf$', RegistrationPDFView.as_view(), name="teleforma-registration-view"), + url(r'^accounts/register/(?P.*)/download/\?format=pdf$', RegistrationPDFViewDownload.as_view(), name="teleforma-registration-download"), + url(r'^accounts/register/(?P.*)/view/\?format=pdf$', RegistrationPDFView.as_view(), name="teleforma-registration-view"), url(r'^captcha/', include('captcha.urls')),