l.a.b.f.ExportedImageFolder(ExportedFolder) : class documentation

Part of lp.app.browser.folder View In Hierarchy

Known subclasses: lp.app.browser.launchpad.LaunchpadImageFolder

ExportedFolder subclass for directory of images.

It supports serving image files without their extension (e.g. "image1.gif" can be served as "image1".

Method prepareDataForServing Serve files without their extension.

Inherited from ExportedFolder:

Method __init__ Initialize with context and request.
Method __call__ Undocumented
Method publishTraverse Traverse to the given name.
Method browserDefault Undocumented
Method folder Undocumented
def prepareDataForServing(self, filename):
Serve files without their extension.

If the requested name doesn't exist but a file exists which has the same base name and has an image extension, it will be served.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.