changeset 2524 | 4b39352e5a07 |
parent 2500 | ecc16ffe174b |
child 2568 | 5c456c4d0a0b |
--- a/app/soc/logic/models/survey.py Fri Jul 03 18:39:17 2009 -0700 +++ b/app/soc/logic/models/survey.py Fri Jul 03 20:41:19 2009 -0700 @@ -346,6 +346,13 @@ # return the scope return entity.scope + def _onCreate(self, entity): + """Set the scope of the survey. + """ + + self.getScope(entity) + super(Logic, self)._onCreate(entity) + class ProjectLogic(Logic): """Logic class for ProjectSurvey.