diff options
| author | areski <areski@gmail.com> | 2014-08-18 16:30:44 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-19 16:44:25 -0400 |
| commit | 9d6551204eff9d1ab70b67578f99630716df7490 (patch) | |
| tree | f8a8722912985f6b0876d58909880df172a77703 /docs/intro/tutorial01.txt | |
| parent | fa02120d360387bebbbe735e86686bb4c7c43db2 (diff) | |
Removed unnecessary code-block directives.
Diffstat (limited to 'docs/intro/tutorial01.txt')
| -rw-r--r-- | docs/intro/tutorial01.txt | 8 |
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 |
