mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #20910 -- Replaced snippet directive with code-block.
This commit is contained in:
parent
f8ff529ee3
commit
c49ea6f591
32 changed files with 234 additions and 375 deletions
|
@ -446,8 +446,8 @@ Since this pattern involves a lot of boilerplate, Django provides the
|
|||
:func:`~django.test.utils.isolate_apps` instances are correctly
|
||||
installed, you should pass the set of targeted ``app_label`` as arguments:
|
||||
|
||||
.. snippet::
|
||||
:filename: tests/app_label/tests.py
|
||||
.. code-block:: python
|
||||
:caption: tests/app_label/tests.py
|
||||
|
||||
from django.db import models
|
||||
from django.test import SimpleTestCase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue