From fe886eee36be8022f34cfe59aa61ff1c21fe01d9 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 20 Dec 2020 22:56:58 -0800 Subject: [PATCH] Corrected code-block directives in docs/ref/models/meta.txt. --- docs/ref/models/meta.txt | 4 ++-- 1 file 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()