From fc1d34a2bdcd75c06cd9bd87d67e4844637159c9 Mon Sep 17 00:00:00 2001 From: fabianallendorf Date: Thu, 6 Nov 2025 08:50:57 +0100 Subject: [PATCH] fix code block in docs --- docs/source/usage.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/usage.rst b/docs/source/usage.rst index 8c2a8a2..1c84a25 100644 --- a/docs/source/usage.rst +++ b/docs/source/usage.rst @@ -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.