Mercurial > agora-palash
changeset 187:4752861906b3
Added help_text to bundle description field
Explains that a DESCRIPTION file can be used instead (if it exists)
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Sat, 27 Oct 2012 16:26:11 -0400 |
parents | ff9c95239c3a |
children | 1eb652aa501a |
files | apps/bundle/models.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/apps/bundle/models.py Sat Oct 27 16:25:19 2012 -0400 +++ b/apps/bundle/models.py Sat Oct 27 16:26:11 2012 -0400 @@ -22,7 +22,10 @@ "Acceptable characters: alphanumeric characters, hyphens, and " + "underscores.")) uploader = models.ForeignKey(User) - description = models.TextField(blank=True, null=True) + description = models.TextField(blank=True, null=True, help_text=_( + "Optional. If this field is left empty and the checkbox below " + "is ticked, then the DESCRIPTION file (if it exists) will be " + "used as the bundle description instead.")) octave_format = models.BooleanField('Is the bundle formatted according' ' to Octave package manager standards?', default=False) # If octave_format is true and there is a DESCRIPTION file in the root