Sith/core/migrations/0025_auto_20170919_1521.py
2024-07-08 15:37:09 +02:00

26 lines
790 B
Python

from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("core", "0024_auto_20170906_1317")]
operations = [
migrations.AlterField(
model_name="page",
name="name",
field=models.CharField(
max_length=30,
verbose_name="page unix name",
validators=[
django.core.validators.RegexValidator(
"^[a-zA-Z0-9][a-zA-Z0-9._-]*[a-zA-Z0-9]$",
"Enter a valid page name. This value may contain only unaccented letters, numbers and ./+/-/_ characters.",
)
],
),
)
]