Code

Changes between Version 90 and Version 91 of RemovingTheMagic


Ignore:
Timestamp:
03/17/06 14:54:37 (8 years ago)
Author:
lukeplant
Comment:

Documented offset and limit -> slicing

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v90 v91  
    413413|| (not previously possible)             || {{{Reporter.objects.exclude(fname__contains='n')}}} || 
    414414|| {{{reporters.get_list(distinct=True)}}}                || {{{Reporter.objects.distinct()}}} || 
     415|| {{{reporters.get_list(offset=10, limit=5)}}}           || {{{Reporter.objects.all()[10:15]}}}|| 
    415416|| {{{reporters.get_values()}}}                           || {{{Reporter.objects.values()}}} || 
    416417|| {{{reporters.get_in_bulk([1, 2])}}}                    || {{{Reporter.objects.in_bulk([1, 2])}}} ||