Firstly, import the view from the default backend module if you want to use the default backend.
from registration.backends.default.views import RegistrationView
Secondly, you can set the form_class
by subclassing RegistrationView
, or by passing it as an argument to as_view()
. See the CBV docs for further information.
url (
r'^accounts/register/$',
RegistrationView.as_view(form_class=extendedRegistrationForm),
)