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

Class StoredFile

source code


Helper class for the File field type. Stored file objects can be used within the GUI thread, as none of its methods should block.
Instance Methods
 
__init__(self, storage, name)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__unicode__(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties
  verbose_name
The name of the file, as it is to be displayed in the GUI

Inherited from object: __class__

Method Details

__init__(self, storage, name)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Parameters:
  • storage - the storage in which the file is stored
  • name - the key by which the file is known in the storage
Overrides: object.__init__

Property Details

verbose_name

The name of the file, as it is to be displayed in the GUI
Get Method:
unreachable.verbose_name(self) - The name of the file, as it is to be displayed in the GUI