diff --git a/journals/migrations/0102_auto_20200930_0602.py b/journals/migrations/0102_auto_20200930_0602.py new file mode 100644 index 0000000000000000000000000000000000000000..b053f894d400c3597f96a0c777bff5e38be1b840 --- /dev/null +++ b/journals/migrations/0102_auto_20200930_0602.py @@ -0,0 +1,34 @@ +# Generated by Django 2.2.16 on 2020-09-30 04:02 + +import django.core.validators +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('journals', '0101_auto_20200929_1234'), + ] + + operations = [ + migrations.AlterField( + model_name='issue', + name='doi_label', + field=models.CharField(db_index=True, max_length=200, unique=True, validators=[django.core.validators.RegexValidator('^((SciPost|MigPol)[a-zA-Z]+)\\.\\w+(\\.[0-9]+)?$', 'Only expressions with regex ((SciPost|MigPol)[a-zA-Z]+)\\.\\w+(\\.[0-9]+)? are allowed.')]), + ), + migrations.AlterField( + model_name='journal', + name='doi_label', + field=models.CharField(db_index=True, max_length=200, unique=True, validators=[django.core.validators.RegexValidator('^(SciPost|MigPol)[a-zA-Z]+$', 'Only expressions with regex (SciPost|MigPol)[a-zA-Z]+ are allowed.')]), + ), + migrations.AlterField( + model_name='publication', + name='doi_label', + field=models.CharField(db_index=True, max_length=200, unique=True, validators=[django.core.validators.RegexValidator('^((SciPost|MigPol)[a-zA-Z]+)(\\.\\w+(\\.[0-9]+(\\.[0-9]{3,})?)?)?$', 'Only expressions with regex ((SciPost|MigPol)[a-zA-Z]+)(\\.\\w+(\\.[0-9]+(\\.[0-9]{3,})?)?)? are allowed.')]), + ), + migrations.AlterField( + model_name='volume', + name='doi_label', + field=models.CharField(db_index=True, max_length=200, unique=True, validators=[django.core.validators.RegexValidator('^((SciPost|MigPol)[a-zA-Z]+\\.\\w)$', 'Only expressions with regex ((SciPost|MigPol)[a-zA-Z]+\\.\\w) are allowed.')]), + ), + ]