apis_core.collections.signals

apis_core.collections.signals#

Module Contents#

Functions#

add_to_session_collection

Add a created apis_core.history model instance to all the SkosCollections that are listed in the session_collections session variable. This needs the ‘crum.CurrentRequestUserMiddleware’ middleware to be enabled.

API#

apis_core.collections.signals.add_to_session_collection(sender, instance, created, raw, using, update_fields, **kwargs)#

Add a created apis_core.history model instance to all the SkosCollections that are listed in the session_collections session variable. This needs the ‘crum.CurrentRequestUserMiddleware’ middleware to be enabled.