diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-12-20 22:56:58 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-21 07:56:58 +0100 |
| commit | fe886eee36be8022f34cfe59aa61ff1c21fe01d9 (patch) | |
| tree | 64ee9d3cf64da1e45b4800d9d5f1fab6e6aadb04 /docs | |
| parent | 1190af5071775249b57c33f4d27d6c6481949d75 (diff) | |
Corrected code-block directives in docs/ref/models/meta.txt.
Diffstat (limited to 'docs')
| -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() |
