Changes between Version 9 and Version 10 of RemovingTheMagic


Ignore:
Timestamp:
Dec 13, 2005, 9:26:13 PM (19 years ago)
Author:
Adrian Holovaty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v9 v10  
    149149}}}
    150150
    151 == API usage: Specifying lookups ==
    152 
    153 Old:
    154 {{{
    155 #!python
    156 people.get_list(first_name__exact='Adrian')
    157 }}}
    158 
    159 New:
    160 {{{
    161 #!python
    162 Person.objects.get_list(Person.q.first_name == 'Adrian')
    163 }}}
    164 
    165 The old syntax will still be supported and documented, indefinitely. The new syntax will be implemented as a thin wrapper around the old syntax. See patch on #851 for implementation.
    166 
    167151== Other "module"-level members: Automatic manipulators and !ObjectDoesNotExist exception ==
    168152
     
    174158}}}
    175159
    176 DescriptorFields - descriptor for fields proposal (rjwittams)
     160== Database lookup API changes ==
     161
     162See DescriptorFields, rjwittams' proposal on the API changes.
Back to Top