Skip to content

Commit

Permalink
fix the problem in the models docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bbmokhtari committed Oct 20, 2024
1 parent 3eaf303 commit 253e772
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 253e772

Please sign in to comment.