Filter SetupΒΆ

filters

Filters are called once an object has been saved to the database. They build on the Django Signals Infrastructure.

In the settings.py file filters are activated by specifying them within the POST_SAVE_FILTERS variable, for example

POST_SAVE_FILTERS = [
    ("tardis.tardis_portal.filters.exif.EXIFFilter",
     ["EXIF", "http://exif.schema"]),
]

The format they are specified in is

(<filter class path>, [args], {kwargs})

Where args and kwargs are both optional.