Newer
Older
# -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2016-03-19 09:42
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
('scipost', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Report',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('status', models.SmallIntegerField(default=0)),
('qualification', models.PositiveSmallIntegerField(blank=True, choices=[(4, 'expert in this subject'), (3, 'very knowledgeable in this subject'), (2, 'knowledgeable in this subject'), (1, 'generally qualified'), (0, 'not qualified')], verbose_name='Qualification to referee this: I am ')),
('strengths', models.TextField()),
('weaknesses', models.TextField()),
('report', models.TextField()),
('requested_changes', models.TextField(verbose_name='requested changes')),
('formatting', models.SmallIntegerField(blank=True, choices=[(6, 'perfect'), (5, 'excellent'), (4, 'good'), (3, 'reasonable'), (2, 'acceptable'), (1, 'below threshold'), (0, 'mediocre')], default=1, verbose_name='Quality of paper formatting')),
('grammar', models.SmallIntegerField(blank=True, choices=[(6, 'perfect'), (5, 'excellent'), (4, 'good'), (3, 'reasonable'), (2, 'acceptable'), (1, 'below threshold'), (0, 'mediocre')], default=1, verbose_name='Quality of English grammar')),
('recommendation', models.SmallIntegerField(choices=[(1, 'Publish as Tier I (top 10% of papers in this journal)'), (2, 'Publish as Tier II (top 50% of papers in this journal)'), (3, 'Publish as Tier III (meets the criteria of this journal)'), (-1, 'Ask for minor revision'), (-2, 'Ask for major revision'), (-3, 'Reject')])),
('date_invited', models.DateTimeField(blank=True, null=True, verbose_name='date invited')),
('date_submitted', models.DateTimeField(verbose_name='date submitted')),
('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='scipost.Contributor')),
('invited_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='invited_by', to='scipost.Contributor')),
migrations.CreateModel(
name='Submission',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('vetted', models.BooleanField(default=False)),
('submitted_to_journal', models.CharField(choices=[('SciPost Physics', 'SciPost Physics'), ('SciPost Physics Lecture Notes', 'SciPost Physics Lecture Notes')], max_length=30, verbose_name='Journal to be submitted to')),
('discipline', models.CharField(choices=[('physics', 'Physics')], default='physics', max_length=20)),
('domain', models.CharField(choices=[('E', 'Experimental'), ('T', 'Theoretical'), ('C', 'Computational'), ('ET', 'Exp. & Theor.'), ('EC', 'Exp. & Comp.'), ('TC', 'Theor. & Comp.'), ('ETC', 'Exp., Theor. & Comp.')], max_length=3)),
('specialization', models.CharField(choices=[('A', 'Atomic, Molecular and Optical Physics'), ('B', 'Biophysics'), ('C', 'Condensed Matter Physics'), ('F', 'Fluid Dynamics'), ('G', 'Gravitation, Cosmology and Astroparticle Physics'), ('H', 'High-Energy Physics'), ('M', 'Mathematical Physics'), ('N', 'Nuclear Physics'), ('Q', 'Quantum Statistical Mechanics'), ('S', 'Statistical and Soft Matter Physics')], max_length=1)),
('status', models.CharField(choices=[('unassigned', 'unassigned'), ('forwarded', 'forwarded to a specialty editor'), ('SEICassigned', 'specialty editor-in-charge assigned'), ('under_review', 'under review'), ('review_completed', 'review period closed, editorial recommendation pending'), ('SEIC_has_recommended', 'specialty editor-in-charge has provided recommendation'), ('decided', 'journal editor-in-chief has fixed decision')], max_length=30)),
('open_for_reporting', models.BooleanField(default=True)),
('open_for_commenting', models.BooleanField(default=True)),
('title', models.CharField(max_length=300)),
('author_list', models.CharField(max_length=1000, verbose_name='author list')),
('abstract', models.TextField()),
('arxiv_link', models.URLField(verbose_name='arXiv link (including version nr)')),
('submission_date', models.DateField(verbose_name='submission date')),
('latest_activity', models.DateTimeField(default=django.utils.timezone.now)),
('authors', models.ManyToManyField(blank=True, related_name='authors_sub', to='scipost.Contributor')),
('editor_in_charge', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='editor_in_charge', to='scipost.Contributor')),
('submitted_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='scipost.Contributor')),
migrations.AddField(
model_name='report',
name='submission',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='submissions.Submission'),