From 3247ec835adc72be7f9fc66fcf4f177cbe302d04 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Wed, 28 Nov 2012 11:34:40 -0800 Subject: [PATCH] Changed name= to verbose_name= for LibraryType. Strangely Django <1.4 didn't notice the error when importing the fixtures. It was trying to use the name "Adapter Type" as the database name, instead of the actual column name "name" for the LibraryType table. --- htsworkflow/frontend/samples/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htsworkflow/frontend/samples/models.py b/htsworkflow/frontend/samples/models.py index 3e56c2d..5126bb5 100644 --- a/htsworkflow/frontend/samples/models.py +++ b/htsworkflow/frontend/samples/models.py @@ -129,7 +129,7 @@ class Affiliation(models.Model): class LibraryType(models.Model): name = models.CharField(max_length=255, unique=True, - name="Adapter Type") + verbose_name="Adapter Type") is_paired_end = models.BooleanField(default=True, help_text="can you do a paired end run with this adapter") can_multiplex = models.BooleanField(default=True, -- 2.30.2