Skip to content
Snippets Groups Projects
Commit 28581c3f authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

set string description for CellLine objects

Former-commit-id: 439a5ae1d63237da9601299acb377972a55cdb3e
parent f4a2e301
No related branches found
No related tags found
No related merge requests found
...@@ -298,6 +298,9 @@ class MDDRSimilarity(models.Model): ...@@ -298,6 +298,9 @@ class MDDRSimilarity(models.Model):
class CellLine(models.Model): class CellLine(models.Model):
name = models.CharField('Name', max_length=50, unique=True) name = models.CharField('Name', max_length=50, unique=True)
def __str__(self):
return self.name
class TestActivityDescription(models.Model): class TestActivityDescription(models.Model):
TEST_TYPES = ( TEST_TYPES = (
('BIOCH', 'Biochemical assay'), ('BIOCH', 'Biochemical assay'),
......
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