From 0f51eee57a98cc95dcb6b69df3f92dc6dd5e6bdf Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Thu, 19 Aug 2021 13:24:57 +0200 Subject: [PATCH] indentation --- smash/web/models/study.py | 3 ++- smash/web/models/voucher.py | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/smash/web/models/study.py b/smash/web/models/study.py index b6bff539..34ed9bc9 100644 --- a/smash/web/models/study.py +++ b/smash/web/models/study.py @@ -22,7 +22,8 @@ class Study(models.Model): nd_number_study_subject_regex = models.CharField( max_length=255, verbose_name='Study Subject ND Number Regex', default=r'^ND\d{4}$', - help_text='Defines the regex to check the ID used for each study subject. Keep in mind that this regex should be valid for all previous study subjects in the database.') + help_text='Defines the regex to check the ID used for each study subject. ' + 'Keep in mind that this regex should be valid for all previous study subjects in the database.') columns = models.OneToOneField( StudyColumns, diff --git a/smash/web/models/voucher.py b/smash/web/models/voucher.py index 72938c58..20d51ae0 100644 --- a/smash/web/models/voucher.py +++ b/smash/web/models/voucher.py @@ -21,7 +21,11 @@ class Voucher(models.Model): issue_date = models.DateField(verbose_name='Issue date', null=False) expiry_date = models.DateField(verbose_name='Expiry date', null=False) - issue_worker = models.ForeignKey(Worker, verbose_name='Issued by', null=False, related_name='issued_vouchers', on_delete=models.CASCADE) + issue_worker = models.ForeignKey(Worker, + verbose_name='Issued by', + null=False, + related_name='issued_vouchers', + on_delete=models.CASCADE) hours = models.IntegerField( verbose_name='Hours', -- GitLab