Forms¶
There are two types of forms in this application: relatively static login forms and dynamic FleetingForms. This stuiff is all for the former.
-
class
fleetingform.forms.FleetingAuthenticationForm(fform, *args, **kwargs)[source]¶ Bases:
django.forms.forms.FormBase authentication form that sets the field labels and help text.
This abstract base class looks after the customization of the stock authentication form (auto-generated) with the configuration in a Fleeting Form’s authentication configuration.
- Parameters
fform (FleetingForm) – FleetingForm the authentication page is for.
-
class
fleetingform.forms.PasswordAuthenticationForm(fform, username='', *args, **kwargs)[source]¶ Bases:
fleetingform.forms.FleetingAuthenticationFormAuthenticate based on password only.
This form may be used either for static password or otp auth types.
- Parameters
fform (FleetingForm) – FleetingForm the authentication page is for.
-
class
fleetingform.forms.UserAuthenticationForm(fform, *args, **kwargs)[source]¶ Bases:
fleetingform.forms.FleetingAuthenticationFormAuthenticate based on username only.
- Parameters
fform (FleetingForm) – FleetingForm the authentication page is for.
-
class
fleetingform.forms.UserPasswordAuthenticationForm(fform, *args, **kwargs)[source]¶ Bases:
fleetingform.forms.FleetingAuthenticationFormAuthenticate based on username and password.
This form may be used either for static username and password or user and otp auth types.
- Parameters
fform (FleetingForm) – FleetingForm the authentication page is for.