summaryrefslogtreecommitdiff
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:46:46 -0500
commit897d8adb1c1938261472de39ccd8066b3aacf8df (patch)
tree7df7e292558d5d960d86c256abfec81d3fa10776
parentb3ea37e304554b511789a7429319484a7436d2e3 (diff)
[1.5.X] Fixed #19260 - Added a comment to tutorial 1.
Thanks terwey for the suggestion. Backport of a72b8a2247 from master
-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):
...