Models

class daguerre.models.AdjustedImage(*args, **kwargs)

Represents a managed image adjustment.

exception DoesNotExist
exception MultipleObjectsReturned
class daguerre.models.Area(*args, **kwargs)

Represents an area of an image. Can be used to specify a crop. Also used for priority-aware automated image cropping.

exception DoesNotExist
exception MultipleObjectsReturned
clean()

Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field defined by NON_FIELD_ERRORS.

clean_fields(exclude=None)

Clean all fields and raise a ValidationError containing a dict of all validation errors if any occur.