diff options
| author | 2019-09-03 16:52:48 +0200 | |
|---|---|---|
| committer | 2019-09-03 16:52:48 +0200 | |
| commit | 03a08db9037904c1dafe42394c33fbc907821b5f (patch) | |
| tree | ff98d12449a798010dd45c089a250575945f4545 /pydis_site/apps/api/migrations | |
| parent | Merge pull request #236 from python-discord/django-roles-api-add-position (diff) | |
Allow special characters in off topic names.
Diffstat (limited to 'pydis_site/apps/api/migrations')
| -rw-r--r-- | pydis_site/apps/api/migrations/0040_allow_special_off_topic_name_chars.py | 19 | 
1 files changed, 19 insertions, 0 deletions
| diff --git a/pydis_site/apps/api/migrations/0040_allow_special_off_topic_name_chars.py b/pydis_site/apps/api/migrations/0040_allow_special_off_topic_name_chars.py new file mode 100644 index 00000000..df88b76e --- /dev/null +++ b/pydis_site/apps/api/migrations/0040_allow_special_off_topic_name_chars.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.3 on 2019-09-03 14:24 + +import django.core.validators +from django.db import migrations, models + + +class Migration(migrations.Migration): + +    dependencies = [ +        ('api', '0039_add_position_field_to_role'), +    ] + +    operations = [ +        migrations.AlterField( +            model_name='offtopicchannelname', +            name='name', +            field=models.CharField(help_text='The actual channel name that will be used on our Discord server.', max_length=96, primary_key=True, serialize=False, validators=[django.core.validators.RegexValidator(regex="^[a-z0-9\\U0001d5a0-\\U0001d5b9-ǃ?’']+$")]), +        ), +    ] | 
