diff options
author | Dan McGee <dan@archlinux.org> | 2013-04-14 20:09:41 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-04-14 20:12:13 +0200 |
commit | 213aa3a2fab6f3a56be348a067c132f568efbaff (patch) | |
tree | f94ea0dbb71c51b38f09203a07b072e4b2af6d2b /main/fields.py | |
parent | 7fc8da7d959556b1204b7864959e73e7f5f5ec59 (diff) | |
download | archweb-213aa3a2fab6f3a56be348a067c132f568efbaff.tar.gz archweb-213aa3a2fab6f3a56be348a067c132f568efbaff.tar.xz |
Reduce mirror status query madness
Move completely to custom SQL for this logic. The Django ORM just
doesn't play nice with the kind of query we are looking to do, so it is
easier to do using raw SQL.
The biggest pain factor here is in supporting sqlite as it doesn't have
nearly the capabilities in handling datetime types directly in the
database, as well as having some different type conversion necessities.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/fields.py')
0 files changed, 0 insertions, 0 deletions