web.views.account_views.AccountCreateView module

Module with the web.views.AccountCreateView view.

class web.views.account_views.AccountCreateView.AccountCreateView(**kwargs)[source]

Bases: LoginRequiredMixin, CreateView

View for creating a single core.models.Account instance.

URL_NAME = 'account-create'
model

alias of Account

form_class

alias of BaseAccountForm

template_name = 'web/account/account_create.html'
get_form(form_class=None)[source]

Return an instance of the form to be used in this view.

Return type:

BaseAccountForm

Parameters:

form_class (type[BaseAccountForm] | None)