StudentProposal abstract is now a text property to support more then 500 bytes.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 10 Mar 2009 21:08:30 +0000
changeset 1788 f7665077a54f
parent 1787 b623d96bc830
child 1789 6f112b2ebd1f
StudentProposal abstract is now a text property to support more then 500 bytes. Just in case someone decides to enter a lot of info. The organizations can decide whether it fits their idea of an abstract. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/models/student_proposal.py
--- a/app/soc/models/student_proposal.py	Tue Mar 10 19:09:12 2009 +0000
+++ b/app/soc/models/student_proposal.py	Tue Mar 10 21:08:30 2009 +0000
@@ -48,7 +48,7 @@
 
   #: required, text field used for different purposes,
   #: depending on the specific type of the proposal
-  abstract = db.StringProperty(required=True, multiline=True)
+  abstract = db.TextProperty(required=True)
   abstract.help_text = ugettext(
       'short abstract, summary, or snippet;'
       ' 500 characters or less, plain text displayed publicly')