Models

class bambu_attachments.models.Attachment(*args, **kwargs)

Attachment(id, file, size, mimetype, title, description, featured, saved, content_type_id, object_id)

description = None

A full description of the attachment

featured = None

Set to True when the attachment should be considered that object’s featured attachment or thumbnail

mimetype = None

The file MIME type

size = None

File size (in bytes)

title = None

The attachment title (useful for generating an alt attribute)