Package Camelot :: Package camelot :: Package core :: Package files :: Module storage
[frames] | no frames]

Module storage

source code

Classes
  StoredFile
Helper class for the File field type. Stored file objects can be used within the GUI thread, as none of its methods should block.
  StoredImage
Helper class for the Image field type Class linking an image and the location and filename where the image is stored
  Storage
Helper class that opens and saves StoredFile objects The default implementation stores files in the settings.CAMELOT_MEDIA_ROOT directory. The storage object should only be used within the model thread, as all of it's methods might block.
  S3Storage
Helper class that opens and saves StoredFile objects into Amazon S3.
Variables
  logger = logging.getLogger('camelot.core.files.storage')
  __package__ = 'Camelot.camelot.core.files'