Skip to content

Commit

Permalink
[FEAT] User registration update (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
MZaFaRM authored Oct 22, 2023
1 parent 675798c commit c47cecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c47cecb

Please sign in to comment.