Sith/core/migrations/0020_auto_20170324_0917.py

27 lines
857 B
Python
Raw Permalink Normal View History

from __future__ import unicode_literals
import django.core.validators
2024-06-24 11:07:36 +00:00
from django.db import migrations, models
class Migration(migrations.Migration):
2018-10-04 19:29:19 +00:00
dependencies = [("core", "0019_preferences_receive_weekmail")]
operations = [
2018-10-04 19:29:19 +00:00
migrations.AlterModelOptions(name="group", options={"ordering": ["name"]}),
migrations.AlterField(
2018-10-04 19:29:19 +00:00
model_name="page",
name="name",
field=models.CharField(
validators=[
django.core.validators.RegexValidator(
"^[A-z.+-]+$",
"Enter a valid page name. This value may contain only unaccented letters, numbers and ./+/-/_ characters.",
)
],
max_length=30,
verbose_name="page unix name",
),
),
]