
__authors__ = [
  '"Daniel Diniz" <ajaksu@gmail.com>',
  '"Lennard de Rijk" <ljvderijk@gmail.com>',
]


from soc.models.survey import Survey


class ProjectSurvey(Survey):
  """Survey for Students that have a StudentProject.
  """

  def __init__(self, *args, **kwargs):
    super(ProjectSurvey, self).__init__(*args, **kwargs)
    # TODO: prefix has to be set to gsoc_program once data has been transferred
    self.prefix = 'program'
    self.taking_access = 'student'


__authors__ = [
  '"Daniel Diniz" <ajaksu@gmail.com>',
  '"Lennard de Rijk" <ljvderijk@gmail.com>',
]


from soc.models.survey import Survey


class ProjectSurvey(Survey):
  """Survey for Students that have a StudentProject.
  """

  def __init__(self, *args, **kwargs):
    super(ProjectSurvey, self).__init__(*args, **kwargs)
    self.prefix = 'gsoc_program'
    self.taking_access = 'student'

Set the default prefix for ProjectSurveys to gsoc_program.
Set the default prefix for ProjectSurveys to gsoc_program.

  
  __authors__ = [
    '"Daniel Diniz" <ajaksu@gmail.com>',
    '"Lennard de Rijk" <ljvderijk@gmail.com>',
  ]
  
  
  from soc.models.survey import Survey
  
  
  class ProjectSurvey(Survey):
    """Survey for Students that have a StudentProject.
    """
  
    def __init__(self, *args, **kwargs):
      super(ProjectSurvey, self).__init__(*args, **kwargs)
-     # TODO: prefix has to be set to gsoc_program once data has been transferred
-     self.prefix = 'program'
+     self.prefix = 'gsoc_program'
      self.taking_access = 'student'
  
Set the default prefix for ProjectSurveys to gsoc_program.
## Code Before:

__authors__ = [
  '"Daniel Diniz" <ajaksu@gmail.com>',
  '"Lennard de Rijk" <ljvderijk@gmail.com>',
]


from soc.models.survey import Survey


class ProjectSurvey(Survey):
  """Survey for Students that have a StudentProject.
  """

  def __init__(self, *args, **kwargs):
    super(ProjectSurvey, self).__init__(*args, **kwargs)
    # TODO: prefix has to be set to gsoc_program once data has been transferred
    self.prefix = 'program'
    self.taking_access = 'student'

## Instruction:
Set the default prefix for ProjectSurveys to gsoc_program.
## Code After:

__authors__ = [
  '"Daniel Diniz" <ajaksu@gmail.com>',
  '"Lennard de Rijk" <ljvderijk@gmail.com>',
]


from soc.models.survey import Survey


class ProjectSurvey(Survey):
  """Survey for Students that have a StudentProject.
  """

  def __init__(self, *args, **kwargs):
    super(ProjectSurvey, self).__init__(*args, **kwargs)
    self.prefix = 'gsoc_program'
    self.taking_access = 'student'
