Django-papertrail

Latest version: v1.1.9

Safety actively analyzes 629723 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

1.1.3

------------------------
* Make papertrail admin viewer resilient to the model class referenced
by the related object not being available (this would happen, for example,
when an app is removed from INSTALLED_APPS but it's Content Type object
is still in the database).

1.1.2

------------------------
* Add default Entry admin

1.1.1

------------------------
* Add a new `data_adapter` argument to `papertrail.log`. The method
pointed by this argument allows the caller to pass a function which
transforms `data` before it is written to the database. It defaults
to `papertrail.model.json_serializeable` which is a convenience method
(albeit a tad slow) used to convert complex objects into JSON-serializeable
representations. This includes dealing with datetime and Decimal fields
which are not natively supported.
This is a hack made necessary to allow easy logging of such data types
as Django's built-in `JSONField` does not provide a way to customize
the JSON serialization :(

1.1.0

------------------------
* Switched to testing with PostgreSQL
* Switch to using native JSONField on Django>=1.9. If you
are upgrading an existing installation you will need to
execute the following SQL command manually: `ALTER TABLE "papertrail_entry" ALTER COLUMN "data" TYPE jsonb USING "data"::jsonb;` This is because there is no easy way to change the underlying field AND dropping the dependency on django-jsonfield at the same time. Sorry :(

1.0.5

------------------------
* Started tracking changes.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.