Skip to content

Commit

Permalink
Add « and » in title available symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
1yunker committed Nov 19, 2023
1 parent 986947d commit ff3c071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/projects/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def validate_title(value):
Валидирует длину и символы в Названии организации.
"""
regex_validator = RegexValidator(
regex=r'^[а-яА-ЯёЁ\d\s\-\.\,\&\+\№\!]+$',
regex=r'^[а-яА-ЯёЁ\d\s\-\.\,\&\+\№\!\«\»]+$',
message=settings.MESSAGE_TITLE_CYRILLIC,
)
min_length_validator = MinLengthValidator(
Expand Down

0 comments on commit ff3c071

Please sign in to comment.