app/projrev/models.py
changeset 32 b39994cca761
parent 28 be65e84e7d03
child 35 c64531b3afb4
--- a/app/projrev/models.py	Mon Aug 10 03:54:33 2009 +0530
+++ b/app/projrev/models.py	Mon Aug 10 16:36:16 2009 +0530
@@ -677,7 +677,7 @@
 
   # Field containing the Line Item to which the project belongs to.
   line_item = models.CharField(max_length=256,
-                               choices=sort_dict(LINE_ITEM_CHOICES))
+                               choices=tuple(LINE_ITEM_CHOICES))
   line_item.help_text = 'Select from one of the Line Items.'
 
   # Field containing the name of the institution working on the
@@ -855,27 +855,36 @@
   #: Field containing the review value for this attribute.
   attribute1 = models.PositiveSmallIntegerField(
       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
+  attribute1.verbose_name = ''
   
   attribute2 = models.PositiveSmallIntegerField(
       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
+  attribute1.verbose_name = ''
 
   attribute3 = models.PositiveSmallIntegerField(
       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
+  attribute1.verbose_name = ''
 
   attribute4 = models.PositiveSmallIntegerField(
       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
+  attribute1.verbose_name = ''
 
   attribute5 = models.PositiveSmallIntegerField(
       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
+  attribute1.verbose_name = ''
 
   attribute6 = models.PositiveSmallIntegerField(
       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
+  attribute1.verbose_name = ''
 
   attribute7 = models.PositiveSmallIntegerField(
       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
+  attribute1.verbose_name = ''
 
   attribute8 = models.PositiveSmallIntegerField(
       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
+  attribute1.verbose_name = ''
 
   attribute9 = models.PositiveSmallIntegerField(
       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
+  attribute1.verbose_name = ''
\ No newline at end of file