Skip to content

Commit

Permalink
chore(docs): Update extending_filer.rst (#1488)
Browse files Browse the repository at this point in the history
Use latest LTS version links to Django documentation
  • Loading branch information
DmytroLitvinov authored Aug 13, 2024
1 parent cce13d2 commit 3d29fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/extending_filer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ field. You can override this behavior by subclassing the
You can also override the search behavior for :py:class:`Folders<filer.models.foldermodels.Folder>`.
Just override :py:attr:`~filer.admin.folderadmin.FolderAdmin.search_fields` by subclassing
the :py:class:`filer.admin.folderadmin.FolderAdmin`. It works as described in
`Django's docs <https://docs.djangoproject.com/en/1.8/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields>`_. E.g.:
`Django's docs <https://docs.djangoproject.com/en/4.2/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields>`_. E.g.:


.. code-block:: python
Expand All @@ -230,7 +230,7 @@ Providing custom Image model
----------------------------

As the ``Image`` model is special, a different way to implement custom Image model is required, which uses the Django
`swappable models <https://docs.djangoproject.com/en/2.0/topics/auth/customizing/#substituting-a-custom-user-model>`_ interface.
`swappable models <https://docs.djangoproject.com/en/4.2/topics/auth/customizing/#substituting-a-custom-user-model>`_ interface.

Defining the model
..................
Expand Down

0 comments on commit 3d29fdd

Please sign in to comment.