Commit 8cc0ad4a authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

add string representation to the Symmetry class

parent f79427c3
......@@ -143,6 +143,9 @@ class Symmetry(models.Model):
class Meta:
verbose_name_plural = "symmetries"
def __str__(self):
return '{} ({})'.format(self.code, self.description)
class Ppi(models.Model):
ppi_id = models.IntegerField('PPI identifier')
complex_id = models.ForeignKey(ProteinDomainComplex)
......
Supports Markdown
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