Removed survey_kind from Survey model.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 30 Jun 2009 00:06:53 +0200
changeset 2454 849956450d69
parent 2453 9b8f3240e3bf
child 2455 a023b71ce125
child 2456 f9119180c294
Removed survey_kind from Survey model. The inheritance structure should make this obsolete.
app/soc/models/survey.py
--- a/app/soc/models/survey.py	Mon Jun 29 23:40:24 2009 +0200
+++ b/app/soc/models/survey.py	Tue Jun 30 00:06:53 2009 +0200
@@ -156,10 +156,6 @@
   survey_content = db.ReferenceProperty(SurveyContent,
                                      collection_name="survey_parent")
 
-  #: Survey kind, a helper for handling the different classes on creation.
-  survey_kind = db.StringProperty(default='', required=False,
-                                  choices=('', 'project', 'grading'))
-
   def getRecords(self):
     """Returns all SurveyRecords belonging to this survey.
     """