Commit 6df26efa authored by Laury Bueno's avatar Laury Bueno
Browse files

[Certification] Remove compatibility code for Python 2 from models

parent 01f61a30
......@@ -83,9 +83,6 @@ class CourseCertification(models.Model):
class Meta:
verbose_name = _("Certificate")
def __unicode__(self):
return u'({0}): {1}'.format(self.course_student, self.is_valid)
def __str__(self):
return '({0}): {1}'.format(self.course_student, self.is_valid)
......@@ -117,9 +114,6 @@ class Evaluation(models.Model):
class Meta:
verbose_name = _('Evaluation')
def __unicode__(self):
return u'({0}): {1}'.format(self.klass, self.instructions)
def __str__(self):
return '({0}): {1}'.format(self.klass, self.instructions)
......@@ -192,10 +186,6 @@ class CertificationProcess(models.Model):
class Meta:
verbose_name = _("Certification Process")
def __unicode__(self):
return u'({0}): {1}'.format(
self.course_certification.course_student.user, self.evaluation)
def __str__(self):
return '({0}): {1}'.format(
self.course_certification.course_student.user, self.evaluation)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment