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