memento

The ORM part of the classes that store the change history of objects to the database. The table defined here is used in camelot.core.memento to store the changes.

To prevent this table to be used to store changes, overwrite the camelot.admin.application_admin.ApplicationAdmin.get_memento() method the custom ApplicationAdmin.

class camelot.model.memento.Memento(*args, **kwargs)[source]

Keeps information on the previous state of objects, to keep track of changes and enable restore to that previous state

class camelot.model.memento.PreviousAttribute(attribute, previous_value)[source]

Helper class to display previous attributes

Previous topic

i18n

Next topic

party

This Page