django-auditlog/auditlog_tests
The Alchemist b640df67a3
new setting: STORE_JSON_CHANGES that intelligently store JSON (#719)
* Branch that implements issue #675, basically, storing the correct JSON type that corresponds to the Python type (None -> null, 1 -> 1', not "1"`).

It's driven by a setting, AUDITLOG_ STORE_JSON_CHANGES , as recommended by @hramezani

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

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

* code formatting tweaks from @hramezani

* increasing test coverage

* added usage for AUDITLOG_STORE_JSON_CHANGES setting

* updated CHANGELOG with info on AUDITLOG_STORE_JSON_CHANGES field

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

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

* added another test for wrong setting type

* should not have committed temporary test changes

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

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-30 11:20:27 +02:00
..
test_app Let CI also check for missing migrations (#706) 2025-03-19 19:58:43 +03:30
__init__.py Remove default_app_config configuration 2022-05-02 14:48:58 +02:00
admin.py Use admin for test site 2020-09-07 16:52:32 +02:00
manage.py Let CI also check for missing migrations (#706) 2025-03-19 19:58:43 +03:30
test_commands.py Let CI also check for missing migrations (#706) 2025-03-19 19:58:43 +03:30
test_settings.py Let CI also check for missing migrations (#706) 2025-03-19 19:58:43 +03:30
test_two_step_json_migration.py Let CI also check for missing migrations (#706) 2025-03-19 19:58:43 +03:30
test_use_json_for_changes.py new setting: STORE_JSON_CHANGES that intelligently store JSON (#719) 2025-04-30 11:20:27 +02:00
tests.py Let CI also check for missing migrations (#706) 2025-03-19 19:58:43 +03:30