app.models
¶
Module Contents¶
Classes¶
This provides default implementations for the methods that Flask-Login |
- class app.models.User¶
Bases:
app.db.Model
,flask_login.UserMixin
This provides default implementations for the methods that Flask-Login expects user objects to have.
- __tablename__ = users¶
- first_name¶
- last_name¶
- email¶
- confirmation¶
- paid¶
- role¶
- team¶
- login_type¶
- _password¶
- property full_name(self)¶
- password(self)¶
- check_password(self, plaintext)¶
- get_id(self)¶
- get_role(self)¶
- get_team(self)¶
- is_paid(self)¶