Skip to content

Commit 5f46b52

Browse files
Correct various links to django docs to not use outdated links
1 parent 67abb37 commit 5f46b52

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/source/general_usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Functionality Example #1 - Minimal Test
1616

1717
In any given web framework, the most common use case is to generate some page
1818
response from a url. So if you wanted a basic test to check that a given
19-
`url reverse <https://docs.djangoproject.com/en/4.0/ref/urlresolvers/#reverse>`_
19+
`url reverse <https://docs.djangoproject.com/en/dev/ref/urlresolvers/#reverse>`_
2020
renders the expected page, you might need to:
2121

2222
* Log in with a specific testing user, if the url is behind a login wall.

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For a large project with many thousands of tests, this can add up fast.
2222

2323
Within this package, are three different TestCase classes that can be used as
2424
a drop-in replacement for
25-
`Django's included TestCases <https://docs.djangoproject.com/en/4.0/topics/testing/tools/#provided-test-case-classes>`_
25+
`Django's included TestCases <https://docs.djangoproject.com/en/dev/topics/testing/tools/#provided-test-case-classes>`_
2626
They are :doc:`test_cases/base_test_case`,
2727
:doc:`IntegrationTestCase<./test_cases/integration_test_case/overview>`, and
2828
:doc:`test_cases/live_server_test_case`.

docs/source/test_cases/integration_test_case/overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ This class can be imported via:
4848
4949
5050
All of the default
51-
`Django assertions <https://docs.djangoproject.com/en/5.1/topics/testing/tools/#assertions>`_
51+
`Django assertions <https://docs.djangoproject.com/en/dev/topics/testing/tools/#assertions>`_
5252
are available while using this class.
5353
When in doubt, you can always fall back to the testing assertions provided
5454
by the standard Django testing suite.

docs/source/test_cases/integration_test_case/response_assertions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ request.
174174
If set to False, then view does not try to authenticate with a new user
175175
instance, and instead keeps the previously logged in user.
176176
Which in most instances, will default to
177-
`Django's Anonymous Django user <https://docs.djangoproject.com/en/5.1/ref/contrib/auth/#anonymoususer-object>`_.
177+
`Django's Anonymous Django user <https://docs.djangoproject.com/en/dev/ref/contrib/auth/#anonymoususer-object>`_.
178178

179179
* ``user`` - User to log in with, if ``auto_login`` is set to True.
180180
Defaults to ``test_user`` if not provided. Also see

docs/source/version_history.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Version History
219219

220220
* All **assertResponse** type calls take args for additional parameters for
221221
url parsing, provided as args or kwargs (for Django
222-
`reverse <https://docs.djangoproject.com/en/4.2/ref/urlresolvers/#reverse>`_
222+
`reverse <https://docs.djangoproject.com/en/dev/ref/urlresolvers/#reverse>`_
223223
calls), or query_parameters (for GET style url calls).
224224

225225
* These parameters can be sent for both standard url resolving, and redirect

0 commit comments

Comments
 (0)