mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-25 10:34:21 +00:00
29 lines
882 B
Python
29 lines
882 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import django.core.validators
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [("core", "0019_preferences_receive_weekmail")]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(name="group", options={"ordering": ["name"]}),
|
|
migrations.AlterField(
|
|
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",
|
|
),
|
|
),
|
|
]
|