fix: use Sex choices with all

This commit is contained in:
2024-12-31 11:38:52 +01:00
parent 364a6f32f4
commit a965f26d48
2 changed files with 23 additions and 1 deletions

View File

@@ -560,7 +560,7 @@ class SearchSubscription(models.Model):
"""
owner = models.ForeignKey(User, on_delete=models.CASCADE)
location = models.ForeignKey(Location, on_delete=models.PROTECT)
sex = models.CharField(max_length=20, choices=SexChoices.choices)
sex = models.CharField(max_length=20, choices=SexChoicesWithAll.choices)
radius = models.IntegerField(choices=DistanceChoices.choices)
def __str__(self):