Kaydet (Commit) a72b8a22 authored tarafından Tim Graham's avatar Tim Graham

Fixed #19260 - Added a comment to tutorial 1.

Thanks terwey for the suggestion.
üst 7733f146
...@@ -52,7 +52,7 @@ code, then run the following command: ...@@ -52,7 +52,7 @@ code, then run the following command:
django-admin.py startproject mysite 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>`. work, see :doc:`Troubleshooting </faq/troubleshooting>`.
.. admonition:: Script name may differ in distribution packages .. admonition:: Script name may differ in distribution packages
...@@ -666,6 +666,7 @@ Save these changes and start a new Python interactive shell by running ...@@ -666,6 +666,7 @@ Save these changes and start a new Python interactive shell by running
>>> Poll.objects.get(pub_date__year=2012) >>> Poll.objects.get(pub_date__year=2012)
<Poll: What's up?> <Poll: What's up?>
# Request an ID that doesn't exist, this will raise an exception.
>>> Poll.objects.get(id=2) >>> Poll.objects.get(id=2)
Traceback (most recent call last): Traceback (most recent call last):
... ...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment