app/projrev/models.py
changeset 24 7257b66a6766
parent 23 91cf6872d853
child 26 97bd3c28c957
--- a/app/projrev/models.py	Sun Aug 09 23:24:48 2009 +0530
+++ b/app/projrev/models.py	Mon Aug 10 00:06:31 2009 +0530
@@ -678,25 +678,31 @@
   # Field containing the Line Item to which the project belongs to.
   line_item = models.CharField(max_length=256,
                                choices=sort_dict(LINE_ITEM_CHOICES))
-  line_item.help_text = "Select from one of the Line Items."
+  line_item.help_text = 'Select from one of the Line Items.'
 
   # Field containing the name of the institution working on the
   # project.
   institution = models.CharField(max_length=256)
+  institution.help_text = 'Give the full name of your institution.'
 
   # Field containing the state to which the institution belongs to.
   state = models.CharField(
       max_length=256,
       choices=sorted(STATE_CHOICES.items(), key=lambda (k,v): (v,k)))
+  state.help_text = 'Select the state in which this project is taken up.'
 
   # Field containing the district to which the institution belongs
   # to in the state of India.
   district = models.CharField(max_length=256,
                               choices=sort_dict(DISTRICT_CHOICES))
+  district.help_text = ('First select the state before selecting the district. '
+      'Select the district of the state where this project is taken up.')
 
   mobile_num = models.CharField(max_length=20)
+  mobile_num.help_text = 'Enter your mobile number.'
 
   fax_num = models.CharField(max_length=20, null=True, blank=True)
+  fax_num.help_text = 'Enter your fax number with the code.'
 
   # Field containing the autogenerated MICR code for the project.
   micr_code = models.CharField(max_length=15, unique=True)
@@ -773,6 +779,7 @@
  
   #: Field containing the Line Item to which the project belongs to.
   document = models.FileField(upload_to='proposals/%Y/%m/%d')
+  document.help_text = 'Select the document path from your local file system.'
 
   #: Field containing the date on which the document was submitted
   submitted_on = models.DateTimeField(auto_now_add=True)