Source

django-anonymizer / docs / anonymizers.rst

Writing Anonymizers

For each model, you need a subclass of :class:`anonymizer.base.Anonymizer`. They can be automatically generated using the :ref:`create-anonymizers-command` command.

The main attributes that must be set are model and attributes. You can also override other methods to customise the process.