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
130
130
database access was prevented on the cursor level. To be safer and prevent
131
131
more cases, it is now prevented at the connection level. If you previously
132
132
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
134
134
request the ``db `` fixture.
135
135
136
136
* 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
246
246
247
247
.. warning ::
248
248
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
250
250
or :fixture: `db ` fixture, which wraps database changes in a transaction and
251
251
restores the state is generally the thing you want in tests. This marker
252
252
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.
207
207
208
208
This fixture will ensure the Django database is set up. Only
209
209
required 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 ` `
211
211
mark to signal it needs the database.
212
212
213
213
``transactional_db ``
@@ -216,7 +216,7 @@ mark to signal it needs the database.
216
216
This fixture can be used to request access to the database including
217
217
transaction support. This is only required for fixtures which need
218
218
database 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.
220
220
221
221
``live_server ``
222
222
~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ first file is found.
25
25
26
26
If you have a custom project setup, have none or multiple ``manage.py `` files
27
27
in 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
29
29
your environment in that case.
30
30
31
31
.. _managing_the_python_path_explicitly :
You can’t perform that action at this time.
0 commit comments