django-contentrelations 0.3.1 documentation

Settings

RESOURCE_TYPE_CHOICES

Default: None

A list of labels used for Slide and Resource. If left empty, a plain character field is displayed

IMAGE_STORAGE

Default: settings.DEFAULT_FILE_STORAGE

The file storage class to use for image storage.

KEY_IMAGE_MODEL

Default: None

If specified, a ForeignKeyField is created and linked to that model to provide images for Slides and Resources.

SETUP_RESOURCES

Default: []

This takes a list of strings in the format 'appname.Model.fieldname' like 'auth.User.related' and adds the RelatedResource generic many-to-many relation to the fieldname of appname.Model.