Hi all, With [9792], I've committed F() query expressions to trunk. For details, see the docs:
http://docs.djangoproject.com/en/dev/topics/db/queries/#filters-can-reference-fields-on-the-model There are two caveats worth knowing about: 1) This patch reveals a bug in the SQLite package that ships with Ubuntu Intrepid Ibex (SQLite 3.5.9-3). Versions of SQLite 3.5.9 on other operating systems (including Debian) don't appear to be affected, and other versions of SQLite on Ubuntu don't appear to be affected either. 2) F() expressions have not been updated to work with GIS fields. However, based on some initial discussions with Justin, it should be possible to make these changes without affecting any public API. If anyone with access and experience with contrib.GIS cares to help out on this front, assistance would be gratefully accepted; otherwise, we'll just have to wait until Justin surfaces from his Bar exams. Finally, some thank yous: Sebastian Noack for getting the ball rolling. Sebastian raised the original ticket and wrote the original patch. Not much of that patch survived into the final implementation, but his contribution is very much appreciated. Unfortunately, I forgot about Sebastian's original involvement when I wrote the commit message - for that, I apologize. Nicolas Lara for doing the heavy lifting as part of the 2008 Google Summer of Code. F() expressions were an optional item in his GSoC proposal, but he made such good progress on aggregates that we got two-for-one. Nicolas, take a bow - you did some excellent work here. Alex Gaynor provided some excellent assistance debugging and fixing a number of problems as we neared completion of the project (including narrowing down the mutant SQLite problem). Thanks Alex. Malcolm Tredinnick did his usual stunning job at reviewing code and picking holes in designs. Thanks Malcolm. Thanks also to the many people that contributed ideas during the design phase, and to those who tested the code as it was developing. Your efforts may not have ended up in the final design or turned into a bug report, but thanks for taking the time to look at an experimental feature. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---