Changes between Version 9 and Version 10 of RemovingTheMagic
- Timestamp:
- Dec 13, 2005, 9:26:13 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemovingTheMagic
v9 v10 149 149 }}} 150 150 151 == API usage: Specifying lookups ==152 153 Old:154 {{{155 #!python156 people.get_list(first_name__exact='Adrian')157 }}}158 159 New:160 {{{161 #!python162 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 167 151 == Other "module"-level members: Automatic manipulators and !ObjectDoesNotExist exception == 168 152 … … 174 158 }}} 175 159 176 DescriptorFields - descriptor for fields proposal (rjwittams) 160 == Database lookup API changes == 161 162 See DescriptorFields, rjwittams' proposal on the API changes.