예제 #1
0
파일: app.py 프로젝트: kod3r/morepath
 def clear(self):
     """Clear all registrations in this application.
     """
     ClassRegistry.clear(self)
     Configurable.clear(self)
     self.traject = Traject()
     self._cached_lookup = None
예제 #2
0
파일: app.py 프로젝트: fudomunro/morepath
 def clear(self):
     """Clear all registrations in this application.
     """
     ClassRegistry.clear(self)
     Configurable.clear(self)
     TweenRegistry.clear(self)
     self.traject = Traject()
     self.settings = SettingSectionContainer()
     self._mounted = {}
예제 #3
0
 def clear(self):
     """Clear all registrations in this application.
     """
     ClassRegistry.clear(self)
     MountRegistry.clear(self)
     Configurable.clear(self)
     ConverterRegistry.clear(self)
     TweenRegistry.clear(self)
     self.traject = Traject()