org.models.legacy_file
Contains the legacy models of files for url redirect support. Going forward, onegov.file and onegov.org.models.file is used.
Classes
A filestorage file that points to an uploaded image or file. |
|
A filestorage file that points to a full image (not a thumbnail). |
Module Contents
- class org.models.legacy_file.LegacyFileCollection(app: onegov.org.app.OrgApp)[source]
-
- get_file_by_filename(filename: str) LegacyFile | None [source]
- class org.models.legacy_file.LegacyImageCollection(app: onegov.org.app.OrgApp)[source]
-
- get_file_by_filename(filename: str) LegacyImage | None [source]
- class org.models.legacy_file.LegacyFile(filename: str, info: dict[str, Any] | None = None)[source]
Bases:
onegov.core.filestorage.FilestorageFile
A filestorage file that points to an uploaded image or file.
- class org.models.legacy_file.LegacyImage(filename: str, info: dict[str, Any] | None = None)[source]
Bases:
LegacyFile
A filestorage file that points to a full image (not a thumbnail).