modulo.addons.uploadΒΆ

Functions

compact(*names)
gen_chars(n) Produces a set of n random word characters
make_file(suggested) Creates a file in the upload directory based on the suggested name.
secure_filename(filename) Pass it a filename and it will return a secure version of it.

Classes

Action(req, params) Represents an action that can be taken by the server.
Entity(**kwargs) The base class for all entities
Field(type, *args, **kwargs) Represents the definition of a ‘field’ on an entity.
ManyToMany(of_kind, *args, **kwargs[, ...])
String([length, convert_unicode, ...]) The base for all string and character types.
Upload(**kwargs) Stores metadata relating to an uploaded file.
UploadIDSelector(req, params)
UploadSubmitAggregator(req, params) Saves uploaded files

Previous topic

modulo.addons.publish

Next topic

modulo.addons.users

This Page