aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/models
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-09-28 17:11:35 +0200
committerGravatar GitHub <[email protected]>2021-09-28 17:11:35 +0200
commitb2f12acc82556b8d7a8ab1f60770b8325b8f3c38 (patch)
tree7e1f2f830bf6d3e3e4d5af2201286569d5f281e5 /pydis_site/apps/api/models
parentMerge pull request #590 from python-discord/cj-wrapup (diff)
parentAdd LT and GT to supported otn chars (diff)
Merge pull request #595 from python-discord/add-more-supported-symbols-to-otn
Add LT and GT to supported otn chars
Diffstat (limited to 'pydis_site/apps/api/models')
-rw-r--r--pydis_site/apps/api/models/bot/off_topic_channel_name.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/models/bot/off_topic_channel_name.py b/pydis_site/apps/api/models/bot/off_topic_channel_name.py
index 403c7465..8999e560 100644
--- a/pydis_site/apps/api/models/bot/off_topic_channel_name.py
+++ b/pydis_site/apps/api/models/bot/off_topic_channel_name.py
@@ -11,7 +11,7 @@ class OffTopicChannelName(ModelReprMixin, models.Model):
primary_key=True,
max_length=96,
validators=(
- RegexValidator(regex=r"^[a-z0-9\U0001d5a0-\U0001d5b9-ǃ?’']+$"),
+ RegexValidator(regex=r"^[a-z0-9\U0001d5a0-\U0001d5b9-ǃ?’'<>]+$"),
),
help_text="The actual channel name that will be used on our Discord server."
)