From 98fd81e910927455dfb971c11d011cb6e1f35396 Mon Sep 17 00:00:00 2001 From: Dave Cranwell Date: Mon, 1 Sep 2014 16:33:15 +0100 Subject: [PATCH] Update creating_pages.rst --- docs/core_components/pages/creating_pages.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/core_components/pages/creating_pages.rst b/docs/core_components/pages/creating_pages.rst index c65ad2e6b..b55edb281 100644 --- a/docs/core_components/pages/creating_pages.rst +++ b/docs/core_components/pages/creating_pages.rst @@ -178,7 +178,9 @@ Insert the following once at the top of your models.py: import django.db.models.options as options options.DEFAULT_NAMES = options.DEFAULT_NAMES + ('description',) -Then for each model as necessary, add a description attribute to the model ``Meta``: + +Then for each model as necessary, add a description attribute to the model ``Meta`` class + .. code-block:: python class HomePage(Page):