Changeset 1963
- Timestamp:
- 01/14/06 18:37:59 (3 years ago)
- Files:
-
- django/trunk/docs/tutorial01.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/tutorial01.txt
r1912 r1963 456 456 >>> polls.get_object(question__startswith='What') 457 457 What's up? 458 459 # Get the poll whose year is 2005. Of course, if you're going through this 460 # tutorial in another year, change as appropriate. 458 461 >>> polls.get_object(pub_date__year=2005) 459 462 What's up? 463 460 464 >>> polls.get_object(id__exact=2) 461 465 Traceback (most recent call last):
