From: Diane Trout Date: Wed, 28 Nov 2012 19:34:40 +0000 (-0800) Subject: Changed name= to verbose_name= for LibraryType. X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=3247ec835adc72be7f9fc66fcf4f177cbe302d04 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. --- 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,