From 9d6551204eff9d1ab70b67578f99630716df7490 Mon Sep 17 00:00:00 2001 From: areski Date: Mon, 18 Aug 2014 16:30:44 +0200 Subject: Removed unnecessary code-block directives. --- docs/intro/tutorial01.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs/intro/tutorial01.txt') diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index ca6042f618..9fe240f261 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -600,10 +600,12 @@ the Python import path to your :file:`mysite/settings.py` file. If you'd rather not use :file:`manage.py`, no problem. Just set the :envvar:`DJANGO_SETTINGS_MODULE` environment variable to - ``mysite.settings``, start a plain Python shell, and set up Django:: + ``mysite.settings``, start a plain Python shell, and set up Django: - >>> import django - >>> django.setup() + .. code-block:: pycon + + >>> import django + >>> django.setup() If this raises an :exc:`AttributeError`, you're probably using a version of Django that doesn't match this tutorial version. You'll want -- cgit v1.3