MassMedia v0.8.5 documentation
The abstract base class for all media types. It includes all the common attributes and functions.
CharField(max_length 255) A headline or short descriptive sentence. Used in creating the slug field.
SlugField A variation of the title attribute that can be used in URLs. They must be unique.
unique=True
CharField A headline or short descriptive sentence. Used in creating the slug field.
max_length=255
We are using a File field instead of Image field because the Image field will cause a problem if the file doesn’t exist and you merely access the record.
Given a width, height or both, it will return the width and height to fit in the given area.
A local or remote video file
An audio file
A flash SWF file to be played in a custom player
A generic file
An arbitrary collection of massmedia items
Handle an external reference
Loop through a passed Zip file, saving the images and adding them to the Collection.
Generic Many-to-Many Relationships between a Collection and any other obj
Provides a generic relation to any object through content-type/object-id fields.
Templates to display media, stored in the database
Return a Django Template object from the content of the record