Skip to content
Snippets Groups Projects
Commit be701969 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unnecessary to string methods removed

parent 365b00b4
No related branches found
No related tags found
1 merge request!101Resolve "list of subjects should contain columns dependent on the study"
...@@ -77,9 +77,3 @@ class StudyColumns(models.Model): ...@@ -77,9 +77,3 @@ class StudyColumns(models.Model):
default=True, default=True,
verbose_name='Resign reason' verbose_name='Resign reason'
) )
def __str__(self):
return "%s" % self.study
def __unicode__(self):
return "%s" % self.study
...@@ -42,9 +42,3 @@ class StudySubjectList(models.Model): ...@@ -42,9 +42,3 @@ class StudySubjectList(models.Model):
null=True, null=True,
blank=True blank=True
) )
def __str__(self):
return "%s %s" % (self.type, self.study)
def __unicode__(self):
return "%s %s" % (self.type, self.study)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment