Changes between Version 59 and Version 60 of RemovingTheMagic
- Timestamp:
- Feb 3, 2006, 6:10:10 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemovingTheMagic
v59 v60 373 373 || '''Date lookup''' || || 374 374 || {{{articles.get_pub_date_list('year')}}} || {{{Article.objects.dates('pub_date', 'year')}}} || 375 || '''Latest-object lookup''' || || 376 || {{{articles.get_latest()}}} (required {{{get_latest_by}}} in model) || {{{Article.objects.latest()}}} (with {{{get_latest_by}}} in model) || 377 || (Not previously possible) || {{{Article.objects.latest('pub_date')}}} # Latest by pub_date (overrides {{{get_latest_by}}} field in model) || 375 378 || '''Many-to-one related lookup''' || || 376 379 || {{{article_obj.reporter_id}}} || {{{article_obj.reporter.id}}} ||