Skip to content

Commit

Permalink
#197 fixed instagram username regex
Browse files Browse the repository at this point in the history
  • Loading branch information
deawer234 committed Sep 20, 2023
1 parent 5d61ec5 commit 22d5807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fiesta/apps/accounts/models/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class Gender(TextChoices):
)
instagram = models.CharField(
verbose_name=_("instagram username"),
validators=[RegexValidator(r"^[\w_-.]+$")],
validators=[RegexValidator(r"^[\w_.]+$")],
blank=True,
)
telegram = models.CharField(
Expand Down

0 comments on commit 22d5807

Please sign in to comment.