SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit e862e446 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Remove field submitted_to_journal from Submission

parent 12c81956
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2018-11-10 12:51
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('submissions', '0042_populate_submitted_to'),
]
operations = [
migrations.RemoveField(
model_name='submission',
name='submitted_to_journal',
),
]
......@@ -36,7 +36,7 @@ from scipost.constants import TITLE_CHOICES
from scipost.constants import SCIPOST_DISCIPLINES, SCIPOST_SUBJECT_AREAS
from scipost.fields import ChoiceArrayField
from scipost.storage import SecureFileStorage
from journals.constants import SCIPOST_JOURNALS_SUBMIT, SCIPOST_JOURNALS_DOMAINS
from journals.constants import SCIPOST_JOURNALS_DOMAINS
from journals.models import Publication
from mails.utils import DirectMailUtil
......@@ -90,9 +90,6 @@ class Submission(models.Model):
voting_fellows = models.ManyToManyField('colleges.Fellowship', blank=True,
related_name='voting_pool')
# Replace this by foreignkey?
submitted_to_journal = models.CharField(max_length=30, choices=SCIPOST_JOURNALS_SUBMIT,
verbose_name="Journal to be submitted to")
submitted_to = models.ForeignKey('journals.Journal', on_delete=models.CASCADE,
blank=True, null=True)
proceedings = models.ForeignKey('proceedings.Proceedings', null=True, blank=True,
......
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