]> git.parisson.com Git - teleforma.git/commitdiff
add origin str
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 17 Mar 2023 09:09:26 +0000 (10:09 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 17 Mar 2023 09:09:26 +0000 (10:09 +0100)
teleforma/models/crfpa.py

index 354b367fd49a98230fbe6b94a1201671eaa97105..714db22aee744974a22a2f179fd2729a24b783fc 100755 (executable)
@@ -494,6 +494,9 @@ class Origin(models.Model):
     name = models.CharField('Name',
                              max_length=64, blank=True, null=True)
 
+    def __str__(self):
+        return self.name
+
 
 class Corrector(models.Model):
     "A corrector profile, only used for registration for the moment"