Exemplo n.º 1
0
 def boot(self, UploadManager, StorageConfig):
     self.app.bind('Upload', UploadManager.driver(StorageConfig.DRIVER))
Exemplo n.º 2
0
 def boot(self, UploadManager, StorageConfig, ViewClass):
     self.app.bind('Upload', UploadManager.driver(StorageConfig.DRIVER))
     ViewClass.share({
         'static': static,
     })