From be7019692cd95d8b9cc10f1b67144560349e5120 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Sun, 3 Dec 2017 09:57:17 +0100 Subject: [PATCH] unnecessary to string methods removed --- smash/web/models/study_columns.py | 6 ------ smash/web/models/study_subject_list.py | 6 ------ 2 files changed, 12 deletions(-) diff --git a/smash/web/models/study_columns.py b/smash/web/models/study_columns.py index 0eea1339..15142bd5 100644 --- a/smash/web/models/study_columns.py +++ b/smash/web/models/study_columns.py @@ -77,9 +77,3 @@ class StudyColumns(models.Model): default=True, verbose_name='Resign reason' ) - - def __str__(self): - return "%s" % self.study - - def __unicode__(self): - return "%s" % self.study diff --git a/smash/web/models/study_subject_list.py b/smash/web/models/study_subject_list.py index dd8e94da..fae16c14 100644 --- a/smash/web/models/study_subject_list.py +++ b/smash/web/models/study_subject_list.py @@ -42,9 +42,3 @@ class StudySubjectList(models.Model): null=True, blank=True ) - - def __str__(self): - return "%s %s" % (self.type, self.study) - - def __unicode__(self): - return "%s %s" % (self.type, self.study) -- GitLab