Django

Code

Changeset 141

Show
Ignore:
Timestamp:
07/17/05 00:54:43 (3 years ago)
Author:
adrian
Message:

Tiny tweaks to tutorial02.txt

Files:

Legend:

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

    r140 r141  
    412412fields. 
    413413 
    414 This is shaping up well. Finally, let's add some search capability:: 
     414This is shaping up well. Let's add some search capability:: 
    415415 
    416416    search_fields = ('question', ) 
     
    419419search terms, Django will search the ``question`` field. You can use as many 
    420420fields as you'd like -- although because it uses a LIKE query behind the 
    421 scenes, keep it reasonable to mind your database performance
     421scenes, keep it reasonable, to keep your database happy
    422422 
    423423Finally, because Poll objects have dates, it'd be convenient to be able to