django-registration / docs / views.rst

Registration views

In order to allow the utmost flexibility in customizing and supporting different workflows, django-registration makes use of Django's support for class-based views. Included in django-registration are two base classes which can be subclassed to implement whatever workflow is required.

A subclass of Django's FormView, which provides the infrastructure for supporting user registration.

Since it's a subclass of FormView, RegistrationView has all the usual attributes and methods you can override; however, there is one key difference. In order to support additional customization, RegistrationView also passes the HttpRequest to most of its methods. Subclasses do need to take this into account, and accept the request argument.

Useful places to override or customize on a RegistrationView subclass are:

A subclass of Django's TemplateView which provides support for a separate account-activation step, in workflows which require that.

Useful places to override or customize on an ActivationView subclass are:

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.