@@ -0,0 +1,2890 @@
+# -*- coding: utf-8 -*-%0Afrom __future__ import unicode_literals%0A%0Afrom django.db import models, migrations%0Afrom django.conf import settings%0A%0A%0Aclass Migration(migrations.Migration):%0A%0A    dependencies = %5B%0A        migrations.swappable_dependency(settings.AUTH_USER_MODEL),%0A        ('core', '0001_initial'),%0A    %5D%0A%0A    operations = %5B%0A        migrations.CreateModel(%0A            name='DeadlineTag',%0A            fields=%5B%0A                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),%0A                ('timestamp', models.DateTimeField()),%0A                ('tag', models.CharField(max_length=30, null=True, blank=True)),%0A            %5D,%0A        ),%0A        migrations.CreateModel(%0A            name='PeriodTag',%0A            fields=%5B%0A                ('period', models.OneToOneField(primary_key=True, serialize=False, to='core.Period')),%0A                ('deadlinetag', models.ForeignKey(to='devilry_qualifiesforexam.DeadlineTag')),%0A            %5D,%0A        ),%0A        migrations.CreateModel(%0A            name='QualifiesForFinalExam',%0A            fields=%5B%0A                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),%0A                ('qualifies', models.NullBooleanField()),%0A                ('relatedstudent', models.ForeignKey(to='core.RelatedStudent')),%0A            %5D,%0A        ),%0A        migrations.CreateModel(%0A            name='Status',%0A            fields=%5B%0A                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),%0A                ('status', models.SlugField(max_length=30, choices=%5B(b'ready', 'Ready for export'), (b'almostready', 'Most students are ready for export'), (b'notready', 'Not ready for export (retracted)')%5D)),%0A                ('createtime', models.DateTimeField(auto_now_add=True)),%0A                ('message', models.TextField(blank=True)),%0A                ('plugin', models.CharField(max_length=500, null=True, blank=True)),%0A                ('exported_timestamp', models.DateTimeField(null=True, blank=True)),%0A                ('period', models.ForeignKey(related_name='qualifiedforexams_status', to='core.Period')),%0A                ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)),%0A            %5D,%0A            options=%7B%0A                'ordering': %5B'-createtime'%5D,%0A                'verbose_name': 'Qualified for final exam status',%0A                'verbose_name_plural': 'Qualified for final exam statuses',%0A            %7D,%0A        ),%0A        migrations.AddField(%0A            model_name='qualifiesforfinalexam',%0A            name='status',%0A            field=models.ForeignKey(related_name='students', to='devilry_qualifiesforexam.Status'),%0A        ),%0A        migrations.AlterUniqueTogether(%0A            name='qualifiesforfinalexam',%0A            unique_together=set(%5B('relatedstudent', 'status')%5D),%0A        ),%0A    %5D%0A

fix for initial commit, 5ace21176299b7891792b9de5be6f351c6479e28