From 2dc251cbf00c667f92d853314636209f3d9357d2 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Tue, 27 Mar 2018 19:34:42 +0200 Subject: [PATCH] Add missing migration after orcid_id validator change --- scipost/migrations/0009_auto_20180327_1933.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scipost/migrations/0009_auto_20180327_1933.py diff --git a/scipost/migrations/0009_auto_20180327_1933.py b/scipost/migrations/0009_auto_20180327_1933.py new file mode 100644 index 000000000..1b55b8e1d --- /dev/null +++ b/scipost/migrations/0009_auto_20180327_1933.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.4 on 2018-03-27 17:33 +from __future__ import unicode_literals + +import django.core.validators +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('scipost', '0008_merge_20180322_1031'), + ] + + operations = [ + migrations.AlterField( + model_name='contributor', + name='orcid_id', + field=models.CharField(blank=True, max_length=20, validators=[django.core.validators.RegexValidator('^[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{3}[0-9X]{1}$', 'Please follow the ORCID format, e.g.: 0000-0001-2345-6789')], verbose_name='ORCID id'), + ), + ] -- GitLab