mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +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
|
@ -123,8 +123,8 @@ Imports
|
|||
|
||||
For example (comments are for explanatory purposes only):
|
||||
|
||||
.. snippet::
|
||||
:filename: django/contrib/admin/example.py
|
||||
.. code-block:: python
|
||||
:caption: django/contrib/admin/example.py
|
||||
|
||||
# future
|
||||
from __future__ import unicode_literals
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue