diff --git a/partners/migrations/0013_auto_20170623_0806.py b/partners/migrations/0013_auto_20170623_0806.py new file mode 100644 index 0000000000000000000000000000000000000000..e0e22f9c96fee922d5bd7f4e2d62679d8fbe6261 --- /dev/null +++ b/partners/migrations/0013_auto_20170623_0806.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.3 on 2017-06-23 06:06 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('partners', '0012_auto_20170612_2006'), + ] + + operations = [ + migrations.AlterField( + model_name='contact', + name='title', + field=models.CharField(choices=[('PR', 'Prof.'), ('DR', 'Dr'), ('MR', 'Mr'), ('MRS', 'Mrs'), ('MS', 'Ms')], max_length=4), + ), + migrations.AlterField( + model_name='prospectivecontact', + name='title', + field=models.CharField(choices=[('PR', 'Prof.'), ('DR', 'Dr'), ('MR', 'Mr'), ('MRS', 'Mrs'), ('MS', 'Ms')], max_length=4), + ), + ] diff --git a/production/migrations/0008_auto_20170623_0833.py b/production/migrations/0008_auto_20170623_0833.py new file mode 100644 index 0000000000000000000000000000000000000000..0f539586ada2418a86d38c75cf419f90a5c55f92 --- /dev/null +++ b/production/migrations/0008_auto_20170623_0833.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.3 on 2017-06-23 06:33 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('production', '0007_auto_20170610_1202'), + ] + + operations = [ + migrations.AlterModelOptions( + name='productionevent', + options={'ordering': ['noted_on']}, + ), + ] diff --git a/production/models.py b/production/models.py index 27e8c6a15785bcbae6c3d711889e7117f97b08e7..6e11ce0e181c9a7abce5f3f592a1593c0cfbb262 100644 --- a/production/models.py +++ b/production/models.py @@ -44,6 +44,9 @@ class ProductionEvent(models.Model): objects = ProductionEventManager() + class Meta: + ordering = ['noted_on'] + def __str__(self): return '%s: %s' % (str(self.stream.submission), self.get_event_display()) diff --git a/scipost/constants.py b/scipost/constants.py index aa19e9b476d151d4400e2a14037b60c24b4a17b9..0e177d64585b1f9500e4956a1aeeb410795d8a7c 100644 --- a/scipost/constants.py +++ b/scipost/constants.py @@ -148,6 +148,7 @@ TITLE_CHOICES = ( ('DR', 'Dr'), ('MR', 'Mr'), ('MRS', 'Mrs'), + ('MS', 'Ms'), ) INVITATION_EDITORIAL_FELLOW = 'F' diff --git a/scipost/migrations/0056_auto_20170623_0806.py b/scipost/migrations/0056_auto_20170623_0806.py new file mode 100644 index 0000000000000000000000000000000000000000..ec3170909dac35018b943ce12cfb9de6d1da7301 --- /dev/null +++ b/scipost/migrations/0056_auto_20170623_0806.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.3 on 2017-06-23 06:06 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('scipost', '0055_auto_20170519_0937'), + ] + + operations = [ + migrations.AlterField( + model_name='contributor', + name='title', + field=models.CharField(choices=[('PR', 'Prof.'), ('DR', 'Dr'), ('MR', 'Mr'), ('MRS', 'Mrs'), ('MS', 'Ms')], max_length=4), + ), + migrations.AlterField( + model_name='draftinvitation', + name='title', + field=models.CharField(choices=[('PR', 'Prof.'), ('DR', 'Dr'), ('MR', 'Mr'), ('MRS', 'Mrs'), ('MS', 'Ms')], max_length=4), + ), + migrations.AlterField( + model_name='registrationinvitation', + name='title', + field=models.CharField(choices=[('PR', 'Prof.'), ('DR', 'Dr'), ('MR', 'Mr'), ('MRS', 'Mrs'), ('MS', 'Ms')], max_length=4), + ), + ] diff --git a/submissions/migrations/0046_auto_20170623_0806.py b/submissions/migrations/0046_auto_20170623_0806.py new file mode 100644 index 0000000000000000000000000000000000000000..a0249efe9ae3f066ccb08d5b9e30cde68bdd74fb --- /dev/null +++ b/submissions/migrations/0046_auto_20170623_0806.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.3 on 2017-06-23 06:06 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('submissions', '0045_auto_20170608_1710'), + ] + + operations = [ + migrations.AlterField( + model_name='refereeinvitation', + name='title', + field=models.CharField(choices=[('PR', 'Prof.'), ('DR', 'Dr'), ('MR', 'Mr'), ('MRS', 'Mrs'), ('MS', 'Ms')], max_length=4), + ), + ]