From ed13ed2b11693127f76cbf5e7c40c9bc02e2e451 Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 10 Nov 2011 20:29:35 +0530 Subject: [PATCH] char limit on short_name --- printaform/formaprint/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printaform/formaprint/models.py b/printaform/formaprint/models.py index 153c27a..1904bad 100755 --- a/printaform/formaprint/models.py +++ b/printaform/formaprint/models.py @@ -54,7 +54,7 @@ FIELD_TYPES = ( ) class ItemField(models.Model): - short_name = models.CharField(max_length=20) + short_name = models.CharField(max_length=255) description = models.CharField(max_length=255, blank=True) typ = models.CharField(choices=FIELD_TYPES, max_length=100) default_value = models.TextField(blank=True)