class documentation
class User(models.Model):
This is User database structure.
Method | __str__ |
This is used for login using email. |
Class Variable | contact |
Contact email of User |
Class Variable | contact |
Contact number of User |
Class Variable | dob |
Date of Birth of User |
Class Variable | flat |
Flat ID of User |
Class Variable | gender |
Gender of User |
Class Variable | id |
Autogenerated Primary ID of User |
Class Variable | password |
Password of User |
Class Variable | pref |
Drinking preference of User |
Class Variable | pref |
Smoking preference of User |
Class Variable | pref |
Vegetarian preference of User |
Class Variable | user |
Type of User |