Changes between Version 22 and Version 23 of DescriptorFields


Ignore:
Timestamp:
01/25/2006 05:10:18 PM (10 years ago)
Author:
adrian
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DescriptorFields

    v22 v23  
    99||Foreign key (other end, count)||{{{reporter.get_article_count()}}}||{{{reporter.article_set.count()}}}||
    1010||Foreign key (other end)||{{{reporter.get_article_list(headline__startswith="This")}}}||{{{reporter.article_set.filter(headline__startswith="This")}}}||
    11 ||Distinct||{{{reporters.get_list(distinct=True)}}}||{{{reporters.objects.distinct()}}}||
     11||Distinct||{{{reporters.get_list(distinct=True)}}}||{{{Reporter.objects.distinct()}}}||
    1212||Adding related objects||{{{reporter.add_article(headline="John's second story", pub_date=datetime(2005, 7, 29))}}}||{{{reporter.article_set.add(headline="John's second story", pub_date=datetime(2005, 7, 29))}}}||
    1313||Many-to-many||{{{article.get_site_list()}}}||{{{article.site_set}}}||
Back to Top