]> git.parisson.com Git - teleforma.git/commitdiff
try fix url
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 4 Feb 2016 00:33:04 +0000 (01:33 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 4 Feb 2016 00:33:04 +0000 (01:33 +0100)
teleforma/urls.py

index 313962c99e298a4a5e583eae5a68e63e2664c932..a94aa9f3e7e9300febe1e5b62b18e5a210a41f60 100644 (file)
@@ -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<username>.*)/complete/$', UserCompleteView.as_view(), name="teleforma-register-complete"),
-    url(r'^accounts/register/(?P<username>.*)/download/?format=pdf$', RegistrationPDFViewDownload.as_view(), name="teleforma-registration-download"),
-    url(r'^accounts/register/(?P<username>.*)/view/?format=pdf$', RegistrationPDFView.as_view(), name="teleforma-registration-view"),
+    url(r'^accounts/register/(?P<username>.*)/download/\?format=pdf$', RegistrationPDFViewDownload.as_view(), name="teleforma-registration-download"),
+    url(r'^accounts/register/(?P<username>.*)/view/\?format=pdf$', RegistrationPDFView.as_view(), name="teleforma-registration-view"),
 
     url(r'^captcha/', include('captcha.urls')),