diff --git a/db/user.py b/db/user.py index 1dfb9277..bbc5fbb5 100644 --- a/db/user.py +++ b/db/user.py @@ -13,7 +13,7 @@ class User(models.Model): email = models.EmailField(unique=True, max_length=200) password = models.CharField(max_length=200, blank=True, null=True) mobile = models.CharField(unique=True, max_length=15) - gender = models.CharField(max_length=10, blank=True, null=True) + gender = models.CharField(max_length=10, blank=True, null=True, choices=["Male", "Female"]) dob = models.DateField(blank=True, null=True) admin = models.BooleanField(default=False) active = models.BooleanField(default=True)