diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-12-20 22:56:58 -0800 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-12-21 07:58:56 +0100 |
| commit | db1d1883e00dda67113a2db3d37f9d3c53c23131 (patch) | |
| tree | d62c66fa0cd0acb5dd2b139c0752fdc8012e4edc | |
| parent | 2332a05b0c916b1360a9428ea2c50132b15b99f0 (diff) | |
[3.1.x] Corrected code-block directives in docs/ref/models/meta.txt.
Backport of fe886eee36be8022f34cfe59aa61ff1c21fe01d9 from master
| -rw-r--r-- | docs/ref/models/meta.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/meta.txt b/docs/ref/models/meta.txt index a02c357c40..251705d84e 100644 --- a/docs/ref/models/meta.txt +++ b/docs/ref/models/meta.txt @@ -44,7 +44,7 @@ Retrieving a single field instance of a model by name :class:`~django.core.exceptions.FieldDoesNotExist` exception will be raised. - .. code-block:: python + .. code-block:: pycon >>> from django.contrib.auth.models import User @@ -84,7 +84,7 @@ Retrieving all field instances of a model as :class:`~django.db.models.ManyToManyField`, or :class:`~django.db.models.ForeignKey`) that start with a "+". - .. code-block:: python + .. code-block:: pycon >>> from django.contrib.auth.models import User >>> User._meta.get_fields() |
