summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial01.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2012-11-13 05:45:08 -0500
committerTim Graham <timograham@gmail.com>2012-11-13 05:45:08 -0500
commita72b8a224721775b31e2075c99165f1e3ca28092 (patch)
treed377b38ed7ff979151fd9d82b106f3dd5c0b1b3c /docs/intro/tutorial01.txt
parent7733f1463141f2f0fd00cc18730582cfb365dc5d (diff)
Fixed #19260 - Added a comment to tutorial 1.
Thanks terwey for the suggestion.
Diffstat (limited to 'docs/intro/tutorial01.txt')
-rw-r--r--docs/intro/tutorial01.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 1e2231d1e0..5712d557c6 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -52,7 +52,7 @@ code, then run the following command:
django-admin.py startproject mysite
-This will create a ``mysite`` directory in your current directory. If it didn't
+This will create a ``mysite`` directory in your current directory. If it didn't
work, see :doc:`Troubleshooting </faq/troubleshooting>`.
.. admonition:: Script name may differ in distribution packages
@@ -666,6 +666,7 @@ Save these changes and start a new Python interactive shell by running
>>> Poll.objects.get(pub_date__year=2012)
<Poll: What's up?>
+ # Request an ID that doesn't exist, this will raise an exception.
>>> Poll.objects.get(id=2)
Traceback (most recent call last):
...