evorepo/todolists
Dan McGee 160a08bba5 Improve performance of todolists query
Use some standard SQL and split the query into two different parts to
save a lot of unnecessary sorting and field retrieval at the database
level. The `CASE WHEN complete THEN 1 ELSE 0 END` syntax should be
accepted by any database that implements proper SQL; it was tested in
PostgreSQL and sqlite3 without issues.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-20 18:17:48 -06:00
..
__init__.py Initial import for public release... 2007-11-03 03:45:10 -04:00
urls.py Change Django urls.py import 2012-03-23 19:54:40 -05:00
utils.py Improve performance of todolists query 2012-11-20 18:17:48 -06:00
views.py Use python set comprehension syntax supported in 2.7 2012-11-16 16:37:53 -06:00