mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #20910 -- Replaced snippet directive with code-block.
This commit is contained in:
committed by
Tim Graham
parent
f8ff529ee3
commit
c49ea6f591
@@ -325,8 +325,8 @@ following structure::
|
||||
|
||||
Let's take a look inside a couple of those files:
|
||||
|
||||
.. snippet::
|
||||
:filename: runtests.py
|
||||
.. code-block:: python
|
||||
:caption: runtests.py
|
||||
|
||||
#!/usr/bin/env python
|
||||
import os
|
||||
@@ -353,8 +353,8 @@ necessary to use the Django test runner. You may want to add
|
||||
command-line options for controlling verbosity, passing in specific test
|
||||
labels to run, etc.
|
||||
|
||||
.. snippet::
|
||||
:filename: tests/test_settings.py
|
||||
.. code-block:: python
|
||||
:caption: tests/test_settings.py
|
||||
|
||||
SECRET_KEY = 'fake-key'
|
||||
INSTALLED_APPS = [
|
||||
|
||||
Reference in New Issue
Block a user