election_day.models.file

Classes

BallotFile

A general file (image, document, pdf, etc), referenced in the database.

Module Contents

class election_day.models.file.BallotFile[source]

Bases: onegov.file.File

A general file (image, document, pdf, etc), referenced in the database.

Thanks to the use of Depot files can be seemingly stored in the database (with transaction guarantees), without actually storing it in the database.

__mapper_args__[source]