mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
All: Apply Black coding rules
This commit is contained in:
@ -7,18 +7,22 @@ import django.core.validators
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0019_preferences_receive_weekmail'),
|
||||
]
|
||||
dependencies = [("core", "0019_preferences_receive_weekmail")]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='group',
|
||||
options={'ordering': ['name']},
|
||||
),
|
||||
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'),
|
||||
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",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
Reference in New Issue
Block a user