

from google.appengine.ext import db

from django.utils.translation import ugettext

from soc.models import linkable


class Timeline(linkable.Linkable):
  """The Timeline Model, representing the timeline for a Program.
  """

  program_start = db.DateTimeProperty(
      verbose_name=ugettext('Program Start date'))

  program_end = db.DateTimeProperty(
      verbose_name=ugettext('Program End date'))

  accepted_organization_announced_deadline = db.DateTimeProperty(
      verbose_name=ugettext('Accepted Organizations Announced Deadline'))

  student_signup_start  = db.DateTimeProperty(
      verbose_name=ugettext('Student Signup Start date'))

  student_signup_end = db.DateTimeProperty(
      verbose_name=ugettext('Student Signup End date'))



from google.appengine.ext import db

from django.utils.translation import ugettext

from soc.models import linkable


class Timeline(linkable.Linkable):
  """The Timeline Model, representing the timeline for a Program.
  """

  program_start = db.DateTimeProperty(
      verbose_name=ugettext('Program Start date'))

  program_end = db.DateTimeProperty(
      verbose_name=ugettext('Program End date'))
  program_end.help_text = ugettext(
      'After this date no data (such as profiles and forms) can be changed.')

  accepted_organization_announced_deadline = db.DateTimeProperty(
      verbose_name=ugettext('Accepted Organizations Announced Deadline'))

  student_signup_start  = db.DateTimeProperty(
      verbose_name=ugettext('Student Signup Start date'))

  student_signup_end = db.DateTimeProperty(
      verbose_name=ugettext('Student Signup End date'))

Add help text for program_end date.
Add help text for program_end date.

Fixes 1411.

  
  
  from google.appengine.ext import db
  
  from django.utils.translation import ugettext
  
  from soc.models import linkable
  
  
  class Timeline(linkable.Linkable):
    """The Timeline Model, representing the timeline for a Program.
    """
  
    program_start = db.DateTimeProperty(
        verbose_name=ugettext('Program Start date'))
  
    program_end = db.DateTimeProperty(
        verbose_name=ugettext('Program End date'))
+   program_end.help_text = ugettext(
+       'After this date no data (such as profiles and forms) can be changed.')
  
    accepted_organization_announced_deadline = db.DateTimeProperty(
        verbose_name=ugettext('Accepted Organizations Announced Deadline'))
  
    student_signup_start  = db.DateTimeProperty(
        verbose_name=ugettext('Student Signup Start date'))
  
    student_signup_end = db.DateTimeProperty(
        verbose_name=ugettext('Student Signup End date'))
  
Add help text for program_end date.
## Code Before:


from google.appengine.ext import db

from django.utils.translation import ugettext

from soc.models import linkable


class Timeline(linkable.Linkable):
  """The Timeline Model, representing the timeline for a Program.
  """

  program_start = db.DateTimeProperty(
      verbose_name=ugettext('Program Start date'))

  program_end = db.DateTimeProperty(
      verbose_name=ugettext('Program End date'))

  accepted_organization_announced_deadline = db.DateTimeProperty(
      verbose_name=ugettext('Accepted Organizations Announced Deadline'))

  student_signup_start  = db.DateTimeProperty(
      verbose_name=ugettext('Student Signup Start date'))

  student_signup_end = db.DateTimeProperty(
      verbose_name=ugettext('Student Signup End date'))

## Instruction:
Add help text for program_end date.
## Code After:


from google.appengine.ext import db

from django.utils.translation import ugettext

from soc.models import linkable


class Timeline(linkable.Linkable):
  """The Timeline Model, representing the timeline for a Program.
  """

  program_start = db.DateTimeProperty(
      verbose_name=ugettext('Program Start date'))

  program_end = db.DateTimeProperty(
      verbose_name=ugettext('Program End date'))
  program_end.help_text = ugettext(
      'After this date no data (such as profiles and forms) can be changed.')

  accepted_organization_announced_deadline = db.DateTimeProperty(
      verbose_name=ugettext('Accepted Organizations Announced Deadline'))

  student_signup_start  = db.DateTimeProperty(
      verbose_name=ugettext('Student Signup Start date'))

  student_signup_end = db.DateTimeProperty(
      verbose_name=ugettext('Student Signup End date'))
