Django

Code

Changeset 1963

Show
Ignore:
Timestamp:
01/14/06 18:37:59 (3 years ago)
Author:
adrian
Message:

Fixed #1225 -- Added note to docs/tutorial01.txt that notes 2005 may not be current year.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/tutorial01.txt

    r1912 r1963  
    456456    >>> polls.get_object(question__startswith='What') 
    457457    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. 
    458461    >>> polls.get_object(pub_date__year=2005) 
    459462    What's up? 
     463 
    460464    >>> polls.get_object(id__exact=2) 
    461465    Traceback (most recent call last):