Robert Wittams wrote:

reporter.articles
reporter.articles.filter(headline__startswith='This').order_by('headline')
reporter.articles.add(headline="John's second story",
pub_date=datetime(2005, 7, 29))


?
The only objection I can think of is that such property notation implies the notion that 'articles' is a stable list and thus 1) can be accessed fast 2) can't change unexpectedly. While function notation 'get_article_list()' clearly shows that it can take some time and the result can be different on each call.

Reply via email to