Forms
Base Classes
- class django_logikal.forms.generic.FormMeta
Metadata class for forms.
- id_prefix = 'id_form'
The form ID prefix to use.
- action_method = 'post'
The form action method to use.
- render_tag = True
Whether to render the
<form>tag.
- htmx_validation_trigger = 'change, keyup delay:250ms changed'
The htmx validation trigger.
- class django_logikal.forms.generic.Form(*args: ~typing.Any, error_class: type[~django_logikal.forms.generic.ErrorList] = <class 'django_logikal.forms.generic.ErrorList'>, label_suffix: str = '', render_context: dict[str, ~typing.Any] | None = None, action_url_kwargs: dict[str, ~typing.Any] | None = None, back_url_kwargs: dict[str, ~typing.Any] | None = None, **kwargs: ~typing.Any)
Improved parent class for forms.
- add_htmx_validation() None
Add htmx validation data fields to all fields with an
htmx_validateattribute.Data fields are only added when the
htmxextra is installed. This method is automatically called during form initialization.
- property media
Return all media required to render the widgets on this form.
Authentication
- class django_logikal.forms.account.AuthForm(*args: ~typing.Any, error_class: type[~django_logikal.forms.generic.ErrorList] = <class 'django_logikal.forms.generic.ErrorList'>, label_suffix: str = '', render_context: dict[str, ~typing.Any] | None = None, action_url_kwargs: dict[str, ~typing.Any] | None = None, back_url_kwargs: dict[str, ~typing.Any] | None = None, **kwargs: ~typing.Any)
- class Meta
- property media
Return all media required to render the widgets on this form.
- class django_logikal.forms.allauth.SignupForm(*args: Any, **kwargs: Any)
- class Meta
- property media
Return all media required to render the widgets on this form.
- class django_logikal.forms.allauth.LoginForm(*args: Any, **kwargs: Any)
- class Meta
- property media
Return all media required to render the widgets on this form.
- class django_logikal.forms.allauth.ResetPasswordForm(*args: ~typing.Any, error_class: type[~django_logikal.forms.generic.ErrorList] = <class 'django_logikal.forms.generic.ErrorList'>, label_suffix: str = '', render_context: dict[str, ~typing.Any] | None = None, action_url_kwargs: dict[str, ~typing.Any] | None = None, back_url_kwargs: dict[str, ~typing.Any] | None = None, **kwargs: ~typing.Any)
- class Meta
- property media
Return all media required to render the widgets on this form.
- class django_logikal.forms.allauth.ResetPasswordKeyForm(*args: Any, **kwargs: Any)
- class Meta
- property media
Return all media required to render the widgets on this form.
- class django_logikal.forms.allauth.SetPasswordForm(*args: Any, **kwargs: Any)
- class Meta
- property media
Return all media required to render the widgets on this form.