StudentProposal content is now a TextProperty.
authorLennard de Rijk <ljvderijk@gmail.com>
Sat, 28 Feb 2009 21:25:23 +0000
changeset 1568 cdbe6e86506c
parent 1567 b5589e656ed1
child 1569 6347d0a4fa7b
StudentProposal content is now a TextProperty. This is necessary to allow more then 500 bytes of content. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/models/student_proposal.py
--- a/app/soc/models/student_proposal.py	Sat Feb 28 21:12:20 2009 +0000
+++ b/app/soc/models/student_proposal.py	Sat Feb 28 21:25:23 2009 +0000
@@ -50,7 +50,7 @@
       ' 500 characters or less, plain text displayed publicly')
 
   #: Required field containing the content of the proposal.
-  content = db.StringProperty(required=True, multiline=True)
+  content = db.TextProperty(required=True)
   content.help_text = ugettext(
       'This contains your actual proposal')