summaryrefslogtreecommitdiffstats
path: root/mirrors/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-04-14 20:09:41 +0200
committerDan McGee <dan@archlinux.org>2013-04-14 20:12:13 +0200
commit213aa3a2fab6f3a56be348a067c132f568efbaff (patch)
treef94ea0dbb71c51b38f09203a07b072e4b2af6d2b /mirrors/admin.py
parent7fc8da7d959556b1204b7864959e73e7f5f5ec59 (diff)
downloadarchweb-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 'mirrors/admin.py')
0 files changed, 0 insertions, 0 deletions