From c47cecbc9eabda7bd3c8a12022149df5a165dca1 Mon Sep 17 00:00:00 2001 From: Muhammed Zafar Date: Sun, 22 Oct 2023 22:48:41 +0530 Subject: [PATCH] [FEAT] User registration update (#1403) --- db/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)