Home | Trees | Indices | Help |
|
---|
|
Sqlalchemy column type to store files. Only the location of the file is stored
This column type accepts and returns a StoredFile, and stores them in the directory specified by settings.MEDIA_ROOT. The name of the file is stored as a string in the database. A subdirectory upload_to can be specified:
class Movie(Entity): script = Field(camelot.types.File(upload_to='script'))
Nested Classes | |
impl A variable length Unicode string. |
|
stored_file_implementation 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 | |||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Properties | |
Inherited from |
Method Details |
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jun 12 15:41:38 2010 | http://epydoc.sourceforge.net |