mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
fix code block in docs
This commit is contained in:
parent
a494bbdac2
commit
fc1d34a2bd
1 changed files with 4 additions and 0 deletions
|
|
@ -455,12 +455,16 @@ Before version 2.2.0, foreign key changes were stored using the string represent
|
|||
Starting from version 2.2.0, the default behavior was updated to store the primary key of the related objects instead.
|
||||
|
||||
Before:
|
||||
|
||||
.. code-block:: json
|
||||
|
||||
{ "foreign_key_field": ["foo", "bar"] }
|
||||
|
||||
|
||||
After:
|
||||
|
||||
.. code-block:: json
|
||||
|
||||
{ "foreign_key_field": [1, 2] }
|
||||
|
||||
You can use this option to enable the legacy behavior.
|
||||
|
|
|
|||
Loading…
Reference in a new issue