summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-01-08 15:58:11 -0500
committerTim Graham <timograham@gmail.com>2013-01-08 15:58:11 -0500
commit1884868adcc6945afaf7a96e01d35eafb623b847 (patch)
tree5ea18b162397f78ff6738f1c0f06d956ca98e1dd /docs
parent99315f709e26ea80de8ea3af4e336dbdbe467711 (diff)
Added sphinx substitutions in place of hardcoded version numbers.
Refs #19571
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/install.txt9
-rw-r--r--docs/intro/tutorial01.txt8
2 files changed, 9 insertions, 8 deletions
diff --git a/docs/intro/install.txt b/docs/intro/install.txt
index f9b122e62d..3cbc8d88ab 100644
--- a/docs/intro/install.txt
+++ b/docs/intro/install.txt
@@ -78,11 +78,13 @@ Verifying
---------
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
>>> print(django.get_version())
- 1.5
+ |version|
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>`.
-
-
-
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index cd07e081fc..fbbfea800d 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -127,13 +127,15 @@ The development server
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
-see the following output on the command line::
+see the following output on the command line:
+
+.. parsed-literal::
Validating models...
0 errors found
- January 06, 2013 - 15:50:53
- Django version 1.5, using settings 'mysite.settings'
+ |today| - 15:50:53
+ Django version |version|, using settings 'mysite.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.