From 253e7728439b1bab9bc57a5001b8d197509566ea Mon Sep 17 00:00:00 2001 From: "Behzad B. Mokhtari" <35877268+bbmokhtari@users.noreply.github.com> Date: Mon, 21 Oct 2024 03:09:33 +0330 Subject: [PATCH] fix the problem in the models docs --- docs/guide/models.rst | 2 +- docs/reference/models.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/models.rst b/docs/guide/models.rst index 530f4ee1..da1e6d6c 100644 --- a/docs/guide/models.rst +++ b/docs/guide/models.rst @@ -13,7 +13,7 @@ To make a model translatable inherit it from the :class:`~translations.models.Translatable` abstract model. .. literalinclude:: ../../sample/models.py - :lines: 4 + :lines: 7 .. literalinclude:: ../../sample/models.py :pyobject: Continent diff --git a/docs/reference/models.rst b/docs/reference/models.rst index 66087804..9c440a33 100644 --- a/docs/reference/models.rst +++ b/docs/reference/models.rst @@ -72,7 +72,7 @@ This module contains the models for the Translations app. To make a model translatable: .. literalinclude:: ../../sample/models.py - :lines: 4 + :lines: 7 .. literalinclude:: ../../sample/models.py :pyobject: Continent