app/soc/models/survey.py
changeset 2440 05c430d1c147
parent 2428 8ca9f32d3fc4
child 2442 dd1f94c3594c
equal deleted inserted replaced
2439:7fac0da44bbf 2440:05c430d1c147
   140   is_featured.help_text = ugettext(
   140   is_featured.help_text = ugettext(
   141       'Field used to indicate if a Survey should be featured, for example,'
   141       'Field used to indicate if a Survey should be featured, for example,'
   142       ' in the sidebar menu.')
   142       ' in the sidebar menu.')
   143 
   143 
   144   #: Date at which the survey becomes available for taking.
   144   #: Date at which the survey becomes available for taking.
   145   opening = db.DateTimeProperty(required=False)
   145   survey_start = db.DateTimeProperty(required=False)
   146   opening.help_text = ugettext(
   146   survey_start.help_text = ugettext(
   147       'Indicates a date before which this survey'
   147       'Indicates a date before which this survey'
   148       ' cannot be taken or displayed.')
   148       ' cannot be taken or displayed.')
   149 
   149 
   150   #: Deadline for taking survey.
   150   #: Deadline for taking survey.
   151   deadline = db.DateTimeProperty(required=False)
   151   survey_end = db.DateTimeProperty(required=False)
   152   deadline.help_text = ugettext(
   152   survey_end.help_text = ugettext(
   153       'Indicates a date after which this survey'
   153       'Indicates a date after which this survey'
   154       ' cannot be taken.')
   154       ' cannot be taken.')
   155 
   155 
   156   #: Referenceproperty that specifies the content of this survey.
   156   #: Referenceproperty that specifies the content of this survey.
   157   survey_content = db.ReferenceProperty(SurveyContent,
   157   survey_content = db.ReferenceProperty(SurveyContent,