summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial01.txt
diff options
context:
space:
mode:
authorareski <areski@gmail.com>2014-08-18 16:30:44 +0200
committerTim Graham <timograham@gmail.com>2014-08-19 16:44:25 -0400
commit9d6551204eff9d1ab70b67578f99630716df7490 (patch)
treef8a8722912985f6b0876d58909880df172a77703 /docs/intro/tutorial01.txt
parentfa02120d360387bebbbe735e86686bb4c7c43db2 (diff)
Removed unnecessary code-block directives.
Diffstat (limited to 'docs/intro/tutorial01.txt')
-rw-r--r--docs/intro/tutorial01.txt8
1 files changed, 5 insertions, 3 deletions
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