1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Removed unnecessary code-block directives.

This commit is contained in:
areski
2014-08-18 16:30:44 +02:00
committed by Tim Graham
parent fa02120d36
commit 9d6551204e
32 changed files with 161 additions and 308 deletions

View File

@@ -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