Code

Changes between Version 1 and Version 2 of DescriptorFields


Ignore:
Timestamp:
12/13/05 08:53:24 (8 years ago)
Author:
rjwittams
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DescriptorFields

    v1 v2  
    2121 
    2222   So:  
    23    {{ 
     23   {{{ 
    2424    reporter.get_article_list() 
    2525    reporter.get_article_list(headline__startswith='This', order_by=['headline']) 
    2626    reporter.add_article(headline="John's second story", pub_date=datetime(2005, 7, 29)) 
    27    }} 
     27   }}} 
    2828   would change to:  
    29    {{ 
     29   {{{ 
    3030    reporter.article_set 
    3131    reporter.article_set.filter(headline__startswith='This').order_by('headline') 
    3232    reporter.article_set.add(headline="John's second story", pub_date=datetime(2005, 7, 29)) 
    33    }} 
     33   }}} 
    3434  
    3535   Methods which change the meaning of the lazy collection are as follows: