forms
LoginForm
Bases: FlaskForm
Form to login the user
Source code in src\downtime_panda\blueprints\user\forms.py
RegisterForm
Bases: FlaskForm
The Registration form to register a new user to the app.
The form handles both simple checks (like making all fields required), as well as business logic checks (like checking if the username/email is taken).
Source code in src\downtime_panda\blueprints\user\forms.py
email_is_free(form, field)
Checks if the supplied email is already presentin the database
username_is_free(form, field)
Checks if the supplied username is already present in the database