Пример #1
0
 def nextSchoolYear(self):
     """Return the next school year."""
     syc = ISchoolYearContainer(ISchoolToolApplication(None))
     if checkPermission("schooltool.edit", syc):
         return syc.getNextSchoolYear()
Пример #2
0
 def nextSchoolYear(self):
     """Return the next school year."""
     syc = ISchoolYearContainer(ISchoolToolApplication(None))
     if checkPermission("schooltool.edit", syc):
         return syc.getNextSchoolYear()