SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 2131ef84 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

allow more than one digits after dot in doi label

parent 45880692
No related branches found
No related tags found
No related merge requests found
# Generated by Django 4.2.10 on 2024-07-04 09:11
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("journals", "0132_alter_journal_acceptance_criteria"),
]
operations = [
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)[a-zA-Z]+|(MigPol))\\.\\w+$",
"Only expressions with regex ((SciPost)[a-zA-Z]+|(MigPol))\\.\\w+ are allowed.",
)
],
),
),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment