Skip to content

Commit a845313

Browse files
authored
Clarify LOGIN_REQUIRED_URLS configuration in docs
Updated documentation to reflect changes in version 5.15 regarding the reliance on Django middleware.
1 parent cd718e1 commit a845313

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/admin/config.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,9 +1786,12 @@ REQUIRE_LOGIN
17861786

17871787
.. versionadded:: 4.1
17881788

1789-
This enables :setting:`LOGIN_REQUIRED_URLS` and configures REST framework to
1790-
require authentication for all API endpoints.
1789+
This enables :class:`django:~django.contrib.auth.middleware.LoginRequiredMiddleware`
1790+
and configures REST framework to require authentication for all API endpoints.
17911791

1792+
.. versionchanged:: 5.15
1793+
1794+
Weblate now relies on Django built-in middleware.
17921795
.. note::
17931796

17941797
This is implemented in the :ref:`sample-configuration`. For Docker, use

0 commit comments

Comments
 (0)