2017-03-24 08:19:15 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.core.validators
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
2018-10-04 19:29:19 +00:00
|
|
|
dependencies = [("core", "0019_preferences_receive_weekmail")]
|
2017-03-24 08:19:15 +00:00
|
|
|
|
|
|
|
operations = [
|
2018-10-04 19:29:19 +00:00
|
|
|
migrations.AlterModelOptions(name="group", options={"ordering": ["name"]}),
|
2017-03-24 08:19:15 +00:00
|
|
|
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",
|
|
|
|
),
|
2017-03-24 08:19:15 +00:00
|
|
|
),
|
|
|
|
]
|