File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ Compatibility
130130 database access was prevented on the cursor level. To be safer and prevent
131131 more cases, it is now prevented at the connection level. If you previously
132132 had tests which interacted with the databases without a database cursor, you
133- will need to mark them with the :func: ` pytest.mark.django_db ` marker or
133+ will need to mark them with the `` pytest.mark.django_db ` ` marker or
134134 request the ``db `` fixture.
135135
136136* The previously undocumented internal fixtures ``_django_db_setup ``,
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ django_db_blocker
246246
247247.. warning ::
248248 It does not manage transactions and changes made to the database will not
249- be automatically restored. Using the :func: ` pytest.mark.django_db ` marker
249+ be automatically restored. Using the `` pytest.mark.django_db ` ` marker
250250 or :fixture: `db ` fixture, which wraps database changes in a transaction and
251251 restores the state is generally the thing you want in tests. This marker
252252 can be used when you are trying to influence the way the database is
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ is configured to be in the containing Django project.
207207
208208This fixture will ensure the Django database is set up. Only
209209required for fixtures that want to use the database themselves. A
210- test function should normally use the :py:func: ` ~ pytest.mark.django_db `
210+ test function should normally use the `` pytest.mark.django_db ` `
211211mark to signal it needs the database.
212212
213213``transactional_db ``
@@ -216,7 +216,7 @@ mark to signal it needs the database.
216216This fixture can be used to request access to the database including
217217transaction support. This is only required for fixtures which need
218218database access themselves. A test function would normally use the
219- :py:func: ` ~ pytest.mark.django_db ` mark to signal it needs the database.
219+ `` pytest.mark.django_db ` ` mark to signal it needs the database.
220220
221221``live_server ``
222222~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ first file is found.
2525
2626If you have a custom project setup, have none or multiple ``manage.py `` files
2727in your project, the automatic detection may not be correct. See
28- :ref: `managing_the_python_path_explicilty ` for more details on how to configure
28+ :ref: `managing_the_python_path_explicitly ` for more details on how to configure
2929your environment in that case.
3030
3131.. _managing_the_python_path_explicitly :
You can’t perform that action at this time.
0 commit comments