Django

Code

Changeset 527

Show
Ignore:
Timestamp:
08/17/05 10:01:12 (3 years ago)
Author:
adrian
Message:

Made some tiny tweaks to docs/tutorial02.txt -- thanks, anonymous

Files:

Legend:

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

    r477 r527  
    303303        # ... 
    304304        admin = meta.Admin( 
     305            # ... 
    305306            list_display = ('question', 'pub_date'), 
    306307        ) 
     
    343344Because ``pub_date`` is a DateTimeField, Django knows to give the default 
    344345filter options for DateTimeFields: "Any date," "Today," "Past 7 days," 
    345 "This month," "This year." Explore using ``list_filter`` on other types of 
    346 fields. 
     346"This month," "This year." 
    347347 
    348348This is shaping up well. Let's add some search capability::