From: Guillaume Pellerin Date: Wed, 3 Feb 2016 23:22:22 +0000 (+0100) Subject: add PDF view X-Git-Tag: 1.1~133 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7a538b6387535db863ee38dd434bfeb1aad87928;p=teleforma.git add PDF view --- diff --git a/teleforma/urls.py b/teleforma/urls.py index d66ad50c..b489b76d 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/complete/$', UserCompleteView.as_view(), name="teleforma-register-complete"), - url(r'^accounts/register/(?P.*)/download/$', RegistrationPDFViewDownload.as_view(), - name="teleforma-registration-download"), + url(r'^accounts/register/(?P.*)/download/$', RegistrationPDFViewDownload.as_view(), name="teleforma-registration-download"), + url(r'^accounts/register/(?P.*)/view/$', RegistrationPDFView.as_view(), name="teleforma-registration-view"), url(r'^captcha/', include('captcha.urls')),