Skip to content

Commit

Permalink
Merge pull request #222 from battlecode/remove-dob
Browse files Browse the repository at this point in the history
Remove date of birth from DB
  • Loading branch information
gaurav-arya authored Nov 15, 2022
2 parents 98c5b87 + 30b5af6 commit 0aa171f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions backend/siarnaq/api/user/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ class UserProfile(models.Model):
gender_details = models.CharField(max_length=32, blank=True)
"""Any customized gender information that better describes the user."""

date_of_birth = models.DateField()
"""The date of birth of the user."""

school = models.CharField(max_length=128, blank=True)
"""The school that this user attends, if provided."""

Expand Down
1 change: 0 additions & 1 deletion backend/siarnaq/api/user/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class Meta:
"user",
"gender",
"gender_details",
"date_of_birth",
"school",
"biography",
"kerberos",
Expand Down

0 comments on commit 0aa171f

Please sign in to comment.