Pushed a new commit to allura:db/6431 This is gtg, but neither allura nor ming branches have been merged. Tested with ming:db/bool (rebased to master) and allura:db/6431.
--- ** [tickets:#6431] Upgrade to ming 0.4.x to avoid extraneous count() queries** **Status:** blocked **Labels:** performance 42cc **Created:** Mon Jul 01, 2013 02:53 PM UTC by Dave Brondsema **Last Updated:** Wed Sep 25, 2013 09:58 PM UTC **Owner:** nobody Ming 0.4 removes the `__len__` method which does a count() query. This is so that list(query) and query.all() don't cause that to run any more. We'll need to find & change all our `len(query)` and `query|length` (in templates) to `query.count()`. --- Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.