diff -r 2e86dbd47907 -r 6276c3340c30 app/soc/models/survey.py --- a/app/soc/models/survey.py Mon Jun 29 13:50:03 2009 +0200 +++ b/app/soc/models/survey.py Mon Jun 29 14:01:24 2009 +0200 @@ -165,33 +165,3 @@ """Returns all SurveyRecords belonging to this survey. """ return self.survey_records - - -class ProjectSurvey(Survey): - """Survey for Students that have a StudentProject. - """ - - def __init__(self, *args, **kwargs): - super(ProjectSurvey, self).__init__(*args, **kwargs) - self.prefix = 'program' - self.taking_access = 'student' - self.scope = Program.get_by_key_name(self.scope_path) - - def getRecords(self): - """Returns all ProjectSurveyRecords belonging to this survey. - """ - return self.project_survey_records - - -class GradingProjectSurvey(ProjectSurvey): - """Survey for Mentors that have a StudentProject. - """ - - def __init__(self, *args, **kwargs): - super(GradingProjectSurvey, self).__init__(*args, **kwargs) - self.taking_access = 'mentor' - - def getRecords(self): - """Returns all GradingProjectSurveyRecords belonging to this survey. - """ - return self.grading_survey_records