From bd001b36328a218ad419be9c7711a595a6860b8c Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Sat, 27 Oct 2018 18:09:46 +0200 Subject: [PATCH] Correct journal constants --- journals/constants.py | 4 ++-- .../migrations/0049_auto_20181027_1807.py | 20 +++++++++++++++++++ .../migrations/0038_auto_20181027_1807.py | 20 +++++++++++++++++++ 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 journals/migrations/0049_auto_20181027_1807.py create mode 100644 submissions/migrations/0038_auto_20181027_1807.py diff --git a/journals/constants.py b/journals/constants.py index 564cad15d..baa72d74c 100644 --- a/journals/constants.py +++ b/journals/constants.py @@ -13,14 +13,14 @@ SCIPOST_JOURNAL_PHYSICS_CODEBASES = 'SciPostPhysCodeb' # Journal open for submission SCIPOST_JOURNALS_SUBMIT = ( (SCIPOST_JOURNAL_PHYSICS, 'SciPost Physics'), - # (SCIPOST_JOURNAL_PHYSICS_COMMONS, 'SciPost Physics Commons'), (SCIPOST_JOURNAL_PHYSICS_LECTURE_NOTES, 'SciPost Physics Lecture Notes'), (SCIPOST_JOURNAL_PHYSICS_PROC, 'SciPost Physics Proceedings'), - # (SCIPOST_JOURNAL_PHYSICS_CODEBASES, 'SciPost Physics Codebases'), ) # Journal closed for submission SCIPOST_JOURNALS_NO_SUBMIT = ( + (SCIPOST_JOURNAL_PHYSICS_COMMONS, 'SciPost Physics Commons'), + (SCIPOST_JOURNAL_PHYSICS_CODEBASES, 'SciPost Physics Codebases'), (SCIPOST_JOURNAL_PHYSICS_SELECT, 'SciPost Physics Select'), ) diff --git a/journals/migrations/0049_auto_20181027_1807.py b/journals/migrations/0049_auto_20181027_1807.py new file mode 100644 index 000000000..2c6ab2b46 --- /dev/null +++ b/journals/migrations/0049_auto_20181027_1807.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.4 on 2018-10-27 16:07 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('journals', '0048_auto_20181023_2150'), + ] + + operations = [ + migrations.AlterField( + model_name='journal', + name='name', + field=models.CharField(choices=[('SciPostPhys', 'SciPost Physics'), ('SciPostPhysLectNotes', 'SciPost Physics Lecture Notes'), ('SciPostPhysProc', 'SciPost Physics Proceedings'), ('SciPostPhysComm', 'SciPost Physics Commons'), ('SciPostPhysCodeb', 'SciPost Physics Codebases'), ('SciPostPhysSel', 'SciPost Physics Select')], max_length=100, unique=True), + ), + ] diff --git a/submissions/migrations/0038_auto_20181027_1807.py b/submissions/migrations/0038_auto_20181027_1807.py new file mode 100644 index 000000000..9c42ec49a --- /dev/null +++ b/submissions/migrations/0038_auto_20181027_1807.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.4 on 2018-10-27 16:07 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('submissions', '0037_auto_20181023_0829'), + ] + + operations = [ + migrations.AlterField( + model_name='submission', + name='submitted_to_journal', + field=models.CharField(choices=[('SciPostPhys', 'SciPost Physics'), ('SciPostPhysLectNotes', 'SciPost Physics Lecture Notes'), ('SciPostPhysProc', 'SciPost Physics Proceedings')], max_length=30, verbose_name='Journal to be submitted to'), + ), + ] -- GitLab