diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-01-15 00:53:19 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-01-15 00:53:19 +0000 |
| commit | 08f032f6b5e4e0ef6fcec59c687055e38cbe7561 (patch) | |
| tree | d890c724a4b6cefbb5e8ab039c7080fd518a68cc /docs/tutorial01.txt | |
| parent | 0b5043832b1cb11aa81e70246bbe12e8e44cbd7a (diff) | |
magic-removal: Merged to [1964]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial01.txt')
| -rw-r--r-- | docs/tutorial01.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/tutorial01.txt b/docs/tutorial01.txt index 004c3ba61d..67b4053ef5 100644 --- a/docs/tutorial01.txt +++ b/docs/tutorial01.txt @@ -455,8 +455,12 @@ Let's jump back into the Python interactive shell by running What's up? >>> polls.get_object(question__startswith='What') What's up? + + # Get the poll whose year is 2005. Of course, if you're going through this + # tutorial in another year, change as appropriate. >>> polls.get_object(pub_date__year=2005) What's up? + >>> polls.get_object(id__exact=2) Traceback (most recent call last): ... |
