From b8d3c86cb9a3f4212b9c720377f7b925a7dbdeaa Mon Sep 17 00:00:00 2001 From: Carlos Vega <carlos.vega@uni.lu> Date: Fri, 2 Nov 2018 17:27:41 +0100 Subject: [PATCH] format --- .../web/migrations/0126_auto_20181030_1733.py | 30 +++++++++++++++++++ .../web/migrations/0127_auto_20181031_0959.py | 25 ++++++++++++++++ .../migrations/0128_studycolumns_excluded.py | 20 +++++++++++++ .../web/migrations/0129_auto_20181031_1348.py | 20 +++++++++++++ smash/web/models/visit.py | 3 +- 5 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 smash/web/migrations/0126_auto_20181030_1733.py create mode 100644 smash/web/migrations/0127_auto_20181031_0959.py create mode 100644 smash/web/migrations/0128_studycolumns_excluded.py create mode 100644 smash/web/migrations/0129_auto_20181031_1348.py diff --git a/smash/web/migrations/0126_auto_20181030_1733.py b/smash/web/migrations/0126_auto_20181030_1733.py new file mode 100644 index 00000000..95685160 --- /dev/null +++ b/smash/web/migrations/0126_auto_20181030_1733.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.5 on 2018-10-30 17:33 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('web', '0125_merge_20181025_0745'), + ] + + operations = [ + migrations.AlterField( + model_name='subject', + name='phone_number', + field=models.CharField(blank=True, max_length=64, null=True, verbose_name=b'Phone number'), + ), + migrations.AlterField( + model_name='subject', + name='phone_number_2', + field=models.CharField(blank=True, max_length=64, null=True, verbose_name=b'Phone number 2'), + ), + migrations.AlterField( + model_name='subject', + name='phone_number_3', + field=models.CharField(blank=True, max_length=64, null=True, verbose_name=b'Phone number 3'), + ), + ] diff --git a/smash/web/migrations/0127_auto_20181031_0959.py b/smash/web/migrations/0127_auto_20181031_0959.py new file mode 100644 index 00000000..1ea22a27 --- /dev/null +++ b/smash/web/migrations/0127_auto_20181031_0959.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.5 on 2018-10-31 09:59 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('web', '0126_auto_20181030_1733'), + ] + + operations = [ + migrations.AddField( + model_name='studysubject', + name='exclude_reason', + field=models.TextField(blank=True, max_length=2000, verbose_name=b'Exclude reason'), + ), + migrations.AddField( + model_name='studysubject', + name='excluded', + field=models.BooleanField(default=False, verbose_name=b'Excluded'), + ), + ] diff --git a/smash/web/migrations/0128_studycolumns_excluded.py b/smash/web/migrations/0128_studycolumns_excluded.py new file mode 100644 index 00000000..3814c094 --- /dev/null +++ b/smash/web/migrations/0128_studycolumns_excluded.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.5 on 2018-10-31 10:16 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('web', '0127_auto_20181031_0959'), + ] + + operations = [ + migrations.AddField( + model_name='studycolumns', + name='excluded', + field=models.BooleanField(default=True, verbose_name=b'Excluded'), + ), + ] diff --git a/smash/web/migrations/0129_auto_20181031_1348.py b/smash/web/migrations/0129_auto_20181031_1348.py new file mode 100644 index 00000000..3cad6e89 --- /dev/null +++ b/smash/web/migrations/0129_auto_20181031_1348.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.5 on 2018-10-31 13:48 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('web', '0128_studycolumns_excluded'), + ] + + operations = [ + migrations.AlterField( + model_name='studycolumns', + name='excluded', + field=models.BooleanField(default=False, verbose_name=b'Excluded'), + ), + ] diff --git a/smash/web/models/visit.py b/smash/web/models/visit.py index bf5c2bb8..47ac3d8a 100644 --- a/smash/web/models/visit.py +++ b/smash/web/models/visit.py @@ -13,8 +13,7 @@ class Visit(models.Model): class Meta: app_label = 'web' - subject = models.ForeignKey("web.StudySubject", on_delete=models.CASCADE, - verbose_name='Subject' + subject = models.ForeignKey("web.StudySubject", on_delete=models.CASCADE, verbose_name='Subject' ) datetime_begin = models.DateTimeField( verbose_name='Visit starts at' -- GitLab