django-auditlog/auditlog
hamsh 9e987169da
use contextvar instead of threadlocal (#581)
* use contextvar instead of threadlocal

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update auditlog/context.py

* update CHANGELOG.md

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2023-11-06 12:35:34 +03:30
..
management chore: add a check arg to the migration command (#563) 2023-09-13 18:03:04 +02:00
migrations fix: change verbose_name in changes_text migration (#571) 2023-10-05 11:52:45 +02:00
__init__.py Drop support for Python 3.7 (#546) 2023-07-13 23:56:08 +02:00
admin.py Allow cascade deletion of auditlog entries (#556) 2023-08-27 11:12:39 +02:00
apps.py feat: give users the option to run the json migration asyncly (#495) 2023-08-13 11:38:21 +02:00
cid.py fix: don't set the correlation_id if the AUDITLOG_CID_GETTER is None (#565) 2023-09-20 13:23:45 +03:00
conf.py feat: give users the option to run the json migration asyncly (#495) 2023-08-13 11:38:21 +02:00
context.py use contextvar instead of threadlocal (#581) 2023-11-06 12:35:34 +03:30
diff.py Audit changes to FK fields when saved using *_id naming. (#525) 2023-05-08 18:56:01 +03:30
filters.py Added support for Correlation ID 2022-12-23 15:09:32 +01:00
middleware.py Always call set_actor (#484) 2023-01-04 15:05:32 +01:00
mixins.py fixed getting field's verbose_name (#508) 2023-05-18 01:59:11 +03:30
models.py Stop deleting log entries in log_create (#559) 2023-09-11 16:16:37 +02:00
receivers.py use contextvar instead of threadlocal (#581) 2023-11-06 12:35:34 +03:30
registry.py feat: collect all models including auto created ones and excluding non-managed ones (#550) 2023-08-09 17:11:21 +02:00
signals.py fix: only fire the post_log signal when the log is created or when there is an error (#561) 2023-09-07 14:28:47 +02:00