Skip to content

Commit 8d8cd8b

Browse files
adamchainzpelme
authored andcommitted
Changelog - fix some code highlighting (#383)
Markdown code highlighting uses one tick but RST uses two, I suspect these were just a mixup from that confusion.
1 parent e8c8e4e commit 8d8cd8b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/changelog.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Bug fixes
1313

1414
Features
1515
^^^^^^^^
16-
* Added a new option `--migrations` to negate a default usage of
17-
`--nomigrations`.
16+
* Added a new option ``--migrations`` to negate a default usage of
17+
``--nomigrations``.
1818

1919
* The previously internal pytest-django fixture that handles database creation
2020
and setup has been refactored, refined and made a public API.
@@ -36,15 +36,15 @@ Compatibility
3636

3737
* pytest-django no longer supports Python 2.6.
3838

39-
* Specifying the `DJANGO_TEST_LIVE_SERVER_ADDRESS` environment variable is no
40-
longer supported. Use `DJANGO_LIVE_TEST_SERVER_ADDRESS` instead.
39+
* Specifying the ``DJANGO_TEST_LIVE_SERVER_ADDRESS`` environment variable is no
40+
longer supported. Use ``DJANGO_LIVE_TEST_SERVER_ADDRESS`` instead.
4141

4242
* Ensuring accidental database access is now stricter than before. Previously
4343
database access was prevented on the cursor level. To be safer and prevent
4444
more cases, it is now prevented at the connection level. If you previously
4545
had tests which interacted with the databases without a database cursor, you
4646
will need to mark them with the :func:`pytest.mark.django_db` marker or
47-
request the `db` fixture.
47+
request the ``db`` fixture.
4848

4949
* The previously undocumented internal fixtures ``_django_db_setup``,
5050
``_django_cursor_wrapper`` have been removed in favour of the new public
@@ -71,7 +71,7 @@ and Python 3.5
7171

7272
Features
7373
^^^^^^^^
74-
* `--fail-on-template-vars` - fail tests for invalid variables in templates.
74+
* ``--fail-on-template-vars`` - fail tests for invalid variables in templates.
7575
Thanks to Johannes Hoppe for idea and implementation. Thanks Daniel Hahler
7676
for review and feedback.
7777

@@ -82,18 +82,18 @@ Bug fixes
8282
discussions. Fixes `issue #183
8383
<https://github.com/pytest-dev/pytest-django/issues/183>`_.
8484

85-
* Call `setUpClass()` in Django `TestCase` properly when test class is
85+
* Call ``setUpClass()`` in Django ``TestCase`` properly when test class is
8686
inherited multiple places. Thanks to Benedikt Forchhammer for report and
8787
initial test case. Fixes `issue #265 <https://github.com/pytest-dev/pytest-django/issues/265>`_.
8888

8989
Compatibility
9090
^^^^^^^^^^^^^
9191

92-
* Settings defined in `pytest.ini`/`tox.ini`/`setup.cfg` used to override
93-
`DJANGO_SETTINGS_MODULE` defined in the environment. Previously the order was
92+
* Settings defined in ``pytest.ini``/``tox.ini``/``setup.cfg`` used to override
93+
``DJANGO_SETTINGS_MODULE`` defined in the environment. Previously the order was
9494
undocumented. Now, instead the settings from the environment will be used
9595
instead. If you previously relied on overriding the environment variable,
96-
you can instead specify `addopts = --ds=yourtestsettings` in the ini-file
96+
you can instead specify ``addopts = --ds=yourtestsettings`` in the ini-file
9797
which will use the test settings. See `PR #199
9898
<https://github.com/pytest-dev/pytest-django/pull/199>`_.
9999

0 commit comments

Comments
 (0)