Skip to content

Commit c6b33ec

Browse files
author
Oliver Sauder
committed
Use intersphinx to reference reset_sequence documentation
1 parent a6fe9fa commit c6b33ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/helpers.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test will fail when trying to access the database.
4545
values (e.g. primary keys) before running the test. Defaults to
4646
``False``. Must be used together with ``transaction=True`` to have an
4747
effect. Please be aware that not all databases support this feature.
48-
For details see `django.test.TransactionTestCase.reset_sequences`_
48+
For details see :py:attr:`django.test.TransactionTestCase.reset_sequences`.
4949

5050
.. note::
5151

@@ -63,7 +63,6 @@ test will fail when trying to access the database.
6363
Test classes that subclass Python's ``unittest.TestCase`` need to have the
6464
marker applied in order to access the database.
6565

66-
.. _django.test.TransactionTestCase.reset_sequences: https://docs.djangoproject.com/en/dev/topics/testing/advanced/#django.test.TransactionTestCase.reset_sequences
6766
.. _django.test.TestCase: https://docs.djangoproject.com/en/dev/topics/testing/overview/#testcase
6867
.. _django.test.TransactionTestCase: https://docs.djangoproject.com/en/dev/topics/testing/overview/#transactiontestcase
6968

0 commit comments

Comments
 (0)