Sith/core/migrations/0025_auto_20170919_1521.py

27 lines
814 B
Python
Raw Normal View History

2017-09-19 14:27:48 +00:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import django.core.validators
2024-06-24 11:07:36 +00:00
from django.db import migrations, models
2017-09-19 14:27:48 +00:00
class Migration(migrations.Migration):
2018-10-04 19:29:19 +00:00
dependencies = [("core", "0024_auto_20170906_1317")]
2017-09-19 14:27:48 +00:00
operations = [
migrations.AlterField(
2018-10-04 19:29:19 +00:00
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.",
)
],
),
)
2017-09-19 14:27:48 +00:00
]