mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed unnecessary code-block directives.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user