# (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')),