mirror of https://github.com/django/django.git
[1.5.x] Added sphinx substitutions in place of hardcoded version numbers.
Refs #19571
Backport of 1884868adc
from master
This commit is contained in:
parent
c95ae7729f
commit
7c39e041b1
|
@ -78,11 +78,13 @@ Verifying
|
||||||
---------
|
---------
|
||||||
|
|
||||||
To verify that Django can be seen by Python, type ``python`` from your shell.
|
To verify that Django can be seen by Python, type ``python`` from your shell.
|
||||||
Then at the Python prompt, try to import Django::
|
Then at the Python prompt, try to import Django:
|
||||||
|
|
||||||
|
.. parsed-literal::
|
||||||
|
|
||||||
>>> import django
|
>>> import django
|
||||||
>>> print(django.get_version())
|
>>> print(django.get_version())
|
||||||
1.5
|
|version|
|
||||||
|
|
||||||
You may have another version of Django installed.
|
You may have another version of Django installed.
|
||||||
|
|
||||||
|
@ -90,6 +92,3 @@ That's it!
|
||||||
----------
|
----------
|
||||||
|
|
||||||
That's it -- you can now :doc:`move onto the tutorial </intro/tutorial01>`.
|
That's it -- you can now :doc:`move onto the tutorial </intro/tutorial01>`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -127,13 +127,15 @@ The development server
|
||||||
|
|
||||||
Let's verify this worked. Change into the outer :file:`mysite` directory, if
|
Let's verify this worked. Change into the outer :file:`mysite` directory, if
|
||||||
you haven't already, and run the command ``python manage.py runserver``. You'll
|
you haven't already, and run the command ``python manage.py runserver``. You'll
|
||||||
see the following output on the command line::
|
see the following output on the command line:
|
||||||
|
|
||||||
|
.. parsed-literal::
|
||||||
|
|
||||||
Validating models...
|
Validating models...
|
||||||
|
|
||||||
0 errors found
|
0 errors found
|
||||||
January 06, 2013 - 15:50:53
|
|today| - 15:50:53
|
||||||
Django version 1.5, using settings 'mysite.settings'
|
Django version |version|, using settings 'mysite.settings'
|
||||||
Development server is running at http://127.0.0.1:8000/
|
Development server is running at http://127.0.0.1:8000/
|
||||||
Quit the server with CONTROL-C.
|
Quit the server with CONTROL-C.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue