Skip to content

Commit 3592043

Browse files
committed
[docs] Updated refs to Django docs [skip ci]
1 parent ffdbf03 commit 3592043

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

docs/developer/admin-theme.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ customize admin theme.
122122
to use the ``STATICFILES_DIR`` setting in ``settings.py``.
123123

124124
You can learn more in the `Django documentation
125-
<https://docs.djangoproject.com/en/4.2/ref/settings/#std:setting-STATICFILES_DIRS>`_.
125+
<https://docs.djangoproject.com/en/5.2/ref/settings/#std:setting-STATICFILES_DIRS>`_.
126126

127127
Extend Admin Theme Programmatically
128128
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

docs/developer/admin-utilities.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ by modifying ``InputFilter`` as following:
157157
158158
To know about other lookups that can be used please check `Django Lookup
159159
API Reference
160-
<https://docs.djangoproject.com/en/4.2/ref/models/lookups/#django.db.models.Lookup>`__
160+
<https://docs.djangoproject.com/en/5.2/ref/models/lookups/#django.db.models.Lookup>`__
161161

162162
``openwisp_utils.admin_theme.filters.SimpleInputFilter``
163163
--------------------------------------------------------

docs/developer/custom-fields.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ openwisp modules.
2020
----------------------------------------------------
2121

2222
This field extends Django's `BooleanField
23-
<https://docs.djangoproject.com/en/4.2/ref/models/fields/#booleanfield>`_
23+
<https://docs.djangoproject.com/en/5.2/ref/models/fields/#booleanfield>`_
2424
and provides additional functionality for handling choices with a fallback
2525
value.
2626

@@ -45,7 +45,7 @@ between enabled and disabled options.
4545
-------------------------------------------------
4646

4747
This field extends Django's `CharField
48-
<https://docs.djangoproject.com/en/4.2/ref/models/fields/#charfield>`_ and
48+
<https://docs.djangoproject.com/en/5.2/ref/models/fields/#charfield>`_ and
4949
provides additional functionality for handling choices with a fallback
5050
value.
5151

@@ -73,7 +73,7 @@ value.
7373
-------------------------------------------
7474

7575
This field extends Django's `CharField
76-
<https://docs.djangoproject.com/en/4.2/ref/models/fields/#charfield>`_ and
76+
<https://docs.djangoproject.com/en/5.2/ref/models/fields/#charfield>`_ and
7777
provides additional functionality for handling text fields with a fallback
7878
value.
7979

@@ -96,7 +96,7 @@ value.
9696
------------------------------------------
9797

9898
This field extends Django's `URLField
99-
<https://docs.djangoproject.com/en/4.2/ref/models/fields/#urlfield>`_ and
99+
<https://docs.djangoproject.com/en/5.2/ref/models/fields/#urlfield>`_ and
100100
provides additional functionality for handling URL fields with a fallback
101101
value.
102102

@@ -119,7 +119,7 @@ value.
119119
-------------------------------------------
120120

121121
This extends Django's `TextField
122-
<https://docs.djangoproject.com/en/4.2/ref/models/fields/#django.db.models.TextField>`_
122+
<https://docs.djangoproject.com/en/5.2/ref/models/fields/#django.db.models.TextField>`_
123123
and provides additional functionality for handling text fields with a
124124
fallback value.
125125

@@ -142,7 +142,7 @@ fallback value.
142142
------------------------------------------------------
143143

144144
This extends Django's `PositiveIntegerField
145-
<https://docs.djangoproject.com/en/4.2/ref/models/fields/#positiveintegerfield>`_
145+
<https://docs.djangoproject.com/en/5.2/ref/models/fields/#positiveintegerfield>`_
146146
and provides additional functionality for handling positive integer fields
147147
with a fallback value.
148148

@@ -164,7 +164,7 @@ with a fallback value.
164164
----------------------------------------------
165165

166166
This extends Django's `DecimalField
167-
<https://docs.djangoproject.com/en/4.2/ref/models/fields/#decimalfield>`_
167+
<https://docs.djangoproject.com/en/5.2/ref/models/fields/#decimalfield>`_
168168
and provides additional functionality for handling decimal fields with a
169169
fallback value.
170170

docs/developer/test-utilities.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Usage example as a context-manager:
3737
:align: center
3838

3939
This class extends the `default test runner provided by Django
40-
<https://docs.djangoproject.com/en/4.2/ref/settings/#std:setting-TEST_RUNNER>`_
40+
<https://docs.djangoproject.com/en/5.2/ref/settings/#std:setting-TEST_RUNNER>`_
4141
and logs the time spent by each test, making it easier to spot slow tests
4242
by highlighting time taken by it in yellow (time shall be highlighted in
4343
red if it crosses the second threshold).
@@ -152,7 +152,7 @@ Example usage:
152152
-----------------------------------------------------
153153

154154
This mixin overrides the `assertNumQueries
155-
<https://docs.djangoproject.com/en/4.2/topics/testing/tools/#django.test.TransactionTestCase.assertNumQueries>`_
155+
<https://docs.djangoproject.com/en/5.2/topics/testing/tools/#django.test.TransactionTestCase.assertNumQueries>`_
156156
assertion from the django test case to run in a ``subTest`` so that the
157157
query check does not block the whole test if it fails.
158158

0 commit comments

Comments
 (0)