codex 1.6.18__py3-none-any.whl → 1.7.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of codex might be problematic. Click here for more details.
- codex/choices.py +419 -0
- codex/choices_to_json.py +122 -0
- codex/db.py +134 -0
- codex/exceptions.py +2 -3
- codex/librarian/bookmark/__init__.py +1 -0
- codex/librarian/bookmark/bookmarkd.py +38 -0
- codex/librarian/bookmark/tasks.py +19 -0
- codex/librarian/bookmark/update.py +154 -0
- codex/librarian/covers/coverd.py +3 -4
- codex/librarian/covers/create.py +8 -7
- codex/librarian/covers/path.py +1 -2
- codex/librarian/covers/purge.py +3 -3
- codex/librarian/importer/const.py +7 -1
- codex/librarian/importer/create_fks.py +5 -2
- codex/librarian/importer/importerd.py +17 -12
- codex/librarian/importer/moved.py +44 -13
- codex/librarian/importer/tasks.py +2 -0
- codex/librarian/janitor/cleanup.py +21 -8
- codex/librarian/janitor/integrity.py +371 -0
- codex/librarian/janitor/janitor.py +50 -15
- codex/librarian/janitor/latest_version.py +2 -1
- codex/librarian/janitor/status.py +5 -0
- codex/librarian/janitor/tasks.py +37 -0
- codex/librarian/janitor/update.py +1 -1
- codex/librarian/librariand.py +37 -24
- codex/librarian/search/optimize.py +43 -0
- codex/librarian/search/remove.py +18 -46
- codex/librarian/search/searchd.py +14 -17
- codex/librarian/search/status.py +2 -1
- codex/librarian/search/tasks.py +4 -9
- codex/librarian/search/update.py +223 -301
- codex/librarian/watchdog/emitter.py +21 -19
- codex/librarian/watchdog/event_batcherd.py +0 -1
- codex/librarian/watchdog/events.py +4 -1
- codex/librarian/watchdog/observers.py +2 -1
- codex/migrations/0029_comicfts.py +58 -0
- codex/migrations/0030_nocase_collation_day_month_indexes_status_types.py +202 -0
- codex/models/admin.py +15 -11
- codex/models/base.py +9 -0
- codex/models/bookmark.py +3 -3
- codex/models/comic.py +68 -16
- codex/models/functions.py +60 -2
- codex/models/groups.py +6 -1
- codex/models/library.py +1 -3
- codex/models/paths.py +9 -3
- codex/models/query.py +6 -0
- codex/run.py +11 -9
- codex/serializers/admin/tasks.py +2 -2
- codex/serializers/browser/mixins.py +18 -14
- codex/serializers/browser/page.py +2 -0
- codex/serializers/browser/settings.py +4 -4
- codex/serializers/fields.py +9 -5
- codex/settings/settings.py +16 -17
- codex/signals/django_signals.py +4 -10
- codex/startup.py +7 -39
- codex/static_root/assets/VCheckbox-D_CWEmqR.84f2b49311e8.js +1 -0
- codex/static_root/assets/VCheckbox-D_CWEmqR.84f2b49311e8.js.br +0 -0
- codex/static_root/assets/VCheckbox-D_CWEmqR.84f2b49311e8.js.gz +0 -0
- codex/static_root/assets/VCheckbox-D_CWEmqR.js +1 -0
- codex/static_root/assets/VCheckbox-D_CWEmqR.js.br +0 -0
- codex/static_root/assets/VCheckbox-D_CWEmqR.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.0eaf3c516474.js +1 -0
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.0eaf3c516474.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.0eaf3c516474.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.js +1 -0
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.js.gz +0 -0
- codex/static_root/assets/VCombobox-CZAW6_3Q.0e2401e819a5.js +1 -0
- codex/static_root/assets/VCombobox-CZAW6_3Q.0e2401e819a5.js.br +0 -0
- codex/static_root/assets/VCombobox-CZAW6_3Q.0e2401e819a5.js.gz +0 -0
- codex/static_root/assets/VCombobox-CZAW6_3Q.js +1 -0
- codex/static_root/assets/VCombobox-CZAW6_3Q.js.br +0 -0
- codex/static_root/assets/VCombobox-CZAW6_3Q.js.gz +0 -0
- codex/static_root/assets/VDialog-CSHgHIlG.a0bcd336cb7b.js +1 -0
- codex/static_root/assets/VDialog-CSHgHIlG.a0bcd336cb7b.js.br +0 -0
- codex/static_root/assets/VDialog-CSHgHIlG.a0bcd336cb7b.js.gz +0 -0
- codex/static_root/assets/VDialog-CSHgHIlG.js +1 -0
- codex/static_root/assets/VDialog-CSHgHIlG.js.br +0 -0
- codex/static_root/assets/VDialog-CSHgHIlG.js.gz +0 -0
- codex/static_root/assets/VDialog-CSvrKKb2.css +1 -0
- codex/static_root/assets/VDialog-CSvrKKb2.css.br +0 -0
- codex/static_root/assets/VDialog-CSvrKKb2.css.gz +0 -0
- codex/static_root/assets/VDialog-CSvrKKb2.fd4d50904b17.css +1 -0
- codex/static_root/assets/VDialog-CSvrKKb2.fd4d50904b17.css.br +0 -0
- codex/static_root/assets/VDialog-CSvrKKb2.fd4d50904b17.css.gz +0 -0
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.e96ae8afad97.js +1 -0
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.e96ae8afad97.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.e96ae8afad97.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.js +1 -0
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-CAgQxkiU.f26ecb0c3e34.js +1 -0
- codex/static_root/assets/VRadioGroup-CAgQxkiU.f26ecb0c3e34.js.br +0 -0
- codex/static_root/assets/VRadioGroup-CAgQxkiU.f26ecb0c3e34.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-CAgQxkiU.js +1 -0
- codex/static_root/assets/VRadioGroup-CAgQxkiU.js.br +0 -0
- codex/static_root/assets/VRadioGroup-CAgQxkiU.js.gz +0 -0
- codex/static_root/assets/VSelect-C1gez8rl.9b11d2f00faf.js +1 -0
- codex/static_root/assets/VSelect-C1gez8rl.9b11d2f00faf.js.br +0 -0
- codex/static_root/assets/VSelect-C1gez8rl.9b11d2f00faf.js.gz +0 -0
- codex/static_root/assets/VSelect-C1gez8rl.js +1 -0
- codex/static_root/assets/VSelect-C1gez8rl.js.br +0 -0
- codex/static_root/assets/VSelect-C1gez8rl.js.gz +0 -0
- codex/static_root/assets/VSelect-DLu8bpcs.98bdcf35411c.css +1 -0
- codex/static_root/assets/VSelect-DLu8bpcs.98bdcf35411c.css.br +0 -0
- codex/static_root/assets/VSelect-DLu8bpcs.98bdcf35411c.css.gz +0 -0
- codex/static_root/assets/VSelect-DLu8bpcs.css +1 -0
- codex/static_root/assets/VSelect-DLu8bpcs.css.br +0 -0
- codex/static_root/assets/VSelect-DLu8bpcs.css.gz +0 -0
- codex/static_root/assets/VSelectionControl-DBqDlKjK.160beaa1b56c.js +1 -0
- codex/static_root/assets/VSelectionControl-DBqDlKjK.160beaa1b56c.js.br +0 -0
- codex/static_root/assets/VSelectionControl-DBqDlKjK.160beaa1b56c.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-DBqDlKjK.js +1 -0
- codex/static_root/assets/VSelectionControl-DBqDlKjK.js.br +0 -0
- codex/static_root/assets/VSelectionControl-DBqDlKjK.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-BtXPhMOT.830f136ffd41.css +1 -0
- codex/static_root/assets/VSlideGroup-BtXPhMOT.830f136ffd41.css.br +0 -0
- codex/static_root/assets/VSlideGroup-BtXPhMOT.830f136ffd41.css.gz +0 -0
- codex/static_root/assets/VSlideGroup-BtXPhMOT.css +1 -0
- codex/static_root/assets/VSlideGroup-BtXPhMOT.css.br +0 -0
- codex/static_root/assets/VSlideGroup-BtXPhMOT.css.gz +0 -0
- codex/static_root/assets/VSlideGroup-SqR_NAL1.40ba1d838a6e.js +1 -0
- codex/static_root/assets/VSlideGroup-SqR_NAL1.40ba1d838a6e.js.br +0 -0
- codex/static_root/assets/VSlideGroup-SqR_NAL1.40ba1d838a6e.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-SqR_NAL1.js +1 -0
- codex/static_root/assets/VSlideGroup-SqR_NAL1.js.br +0 -0
- codex/static_root/assets/VSlideGroup-SqR_NAL1.js.gz +0 -0
- codex/static_root/assets/VTable-CYC-wMpk.8f15d66044da.js +1 -0
- codex/static_root/assets/VTable-CYC-wMpk.8f15d66044da.js.br +0 -0
- codex/static_root/assets/VTable-CYC-wMpk.8f15d66044da.js.gz +0 -0
- codex/static_root/assets/VTable-CYC-wMpk.js +1 -0
- codex/static_root/assets/VTable-CYC-wMpk.js.br +0 -0
- codex/static_root/assets/VTable-CYC-wMpk.js.gz +0 -0
- codex/static_root/assets/VTextField-BnCEPZIq.b0c32b2c0b14.css +1 -0
- codex/static_root/assets/VTextField-BnCEPZIq.b0c32b2c0b14.css.br +0 -0
- codex/static_root/assets/VTextField-BnCEPZIq.b0c32b2c0b14.css.gz +0 -0
- codex/static_root/assets/VTextField-BnCEPZIq.css +1 -0
- codex/static_root/assets/VTextField-BnCEPZIq.css.br +0 -0
- codex/static_root/assets/VTextField-BnCEPZIq.css.gz +0 -0
- codex/static_root/assets/VTextField-DMRKRbbT.911ac84d8c9d.js +1 -0
- codex/static_root/assets/VTextField-DMRKRbbT.911ac84d8c9d.js.br +0 -0
- codex/static_root/assets/VTextField-DMRKRbbT.911ac84d8c9d.js.gz +0 -0
- codex/static_root/assets/VTextField-DMRKRbbT.js +1 -0
- codex/static_root/assets/VTextField-DMRKRbbT.js.br +0 -0
- codex/static_root/assets/VTextField-DMRKRbbT.js.gz +0 -0
- codex/static_root/assets/VWindowItem-D0P2xNJl.6a10e3f3a153.js +1 -0
- codex/static_root/assets/VWindowItem-D0P2xNJl.6a10e3f3a153.js.br +0 -0
- codex/static_root/assets/VWindowItem-D0P2xNJl.6a10e3f3a153.js.gz +0 -0
- codex/static_root/assets/VWindowItem-D0P2xNJl.js +1 -0
- codex/static_root/assets/VWindowItem-D0P2xNJl.js.br +0 -0
- codex/static_root/assets/VWindowItem-D0P2xNJl.js.gz +0 -0
- codex/static_root/assets/admin-CD90VMen.4c2b6f2a5111.js +1 -0
- codex/static_root/assets/admin-CD90VMen.4c2b6f2a5111.js.br +0 -0
- codex/static_root/assets/admin-CD90VMen.4c2b6f2a5111.js.gz +0 -0
- codex/static_root/assets/admin-CD90VMen.js +1 -0
- codex/static_root/assets/admin-CD90VMen.js.br +0 -0
- codex/static_root/assets/admin-CD90VMen.js.gz +0 -0
- codex/static_root/assets/{admin-CWEjaFr5.7d4523387384.css → admin-DJ7pIXDQ.css} +1 -1
- codex/static_root/assets/admin-DJ7pIXDQ.css.br +0 -0
- codex/static_root/assets/admin-DJ7pIXDQ.css.gz +0 -0
- codex/static_root/assets/{admin-CWEjaFr5.css → admin-DJ7pIXDQ.e2a77af73ef2.css} +1 -1
- codex/static_root/assets/admin-DJ7pIXDQ.e2a77af73ef2.css.br +0 -0
- codex/static_root/assets/admin-DJ7pIXDQ.e2a77af73ef2.css.gz +0 -0
- codex/static_root/assets/admin-menu-B9bzD6hV.c13b7df2ff57.css +1 -0
- codex/static_root/assets/admin-menu-B9bzD6hV.c13b7df2ff57.css.br +0 -0
- codex/static_root/assets/admin-menu-B9bzD6hV.c13b7df2ff57.css.gz +0 -0
- codex/static_root/assets/admin-menu-B9bzD6hV.css +1 -0
- codex/static_root/assets/admin-menu-B9bzD6hV.css.br +0 -0
- codex/static_root/assets/admin-menu-B9bzD6hV.css.gz +0 -0
- codex/static_root/assets/admin-menu-BpEPGKr_.c9f9178c5a82.js +1 -0
- codex/static_root/assets/admin-menu-BpEPGKr_.c9f9178c5a82.js.br +0 -0
- codex/static_root/assets/admin-menu-BpEPGKr_.c9f9178c5a82.js.gz +0 -0
- codex/static_root/assets/admin-menu-BpEPGKr_.js +1 -0
- codex/static_root/assets/admin-menu-BpEPGKr_.js.br +0 -0
- codex/static_root/assets/admin-menu-BpEPGKr_.js.gz +0 -0
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.4f1158b650ab.js +1 -0
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.4f1158b650ab.js.br +0 -0
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.4f1158b650ab.js.gz +0 -0
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.js +1 -0
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.js.br +0 -0
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.js.gz +0 -0
- codex/static_root/assets/admin-settings-button-progress-DUUQfVsZ.2548c49a853e.css +1 -0
- codex/static_root/assets/admin-settings-button-progress-DUUQfVsZ.css +1 -0
- codex/static_root/assets/browser-C0KS3g2E.0bf1c9c6319c.js +1 -0
- codex/static_root/assets/browser-C0KS3g2E.0bf1c9c6319c.js.br +0 -0
- codex/static_root/assets/browser-C0KS3g2E.0bf1c9c6319c.js.gz +0 -0
- codex/static_root/assets/browser-C0KS3g2E.js +1 -0
- codex/static_root/assets/browser-C0KS3g2E.js.br +0 -0
- codex/static_root/assets/browser-C0KS3g2E.js.gz +0 -0
- codex/static_root/assets/browser-JFL2hLjt.21cb2f7335f7.css +1 -0
- codex/static_root/assets/browser-JFL2hLjt.21cb2f7335f7.css.br +0 -0
- codex/static_root/assets/browser-JFL2hLjt.21cb2f7335f7.css.gz +0 -0
- codex/static_root/assets/browser-JFL2hLjt.css +1 -0
- codex/static_root/assets/browser-JFL2hLjt.css.br +0 -0
- codex/static_root/assets/browser-JFL2hLjt.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-DXJalgW4.a9f34729599d.js +1 -0
- codex/static_root/assets/change-password-dialog-DXJalgW4.a9f34729599d.js.br +0 -0
- codex/static_root/assets/change-password-dialog-DXJalgW4.a9f34729599d.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-DXJalgW4.js +1 -0
- codex/static_root/assets/change-password-dialog-DXJalgW4.js.br +0 -0
- codex/static_root/assets/change-password-dialog-DXJalgW4.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-DrIXdKUC.217574b45b02.css +1 -0
- codex/static_root/assets/change-password-dialog-DrIXdKUC.217574b45b02.css.br +0 -0
- codex/static_root/assets/change-password-dialog-DrIXdKUC.217574b45b02.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-DrIXdKUC.css +1 -0
- codex/static_root/assets/change-password-dialog-DrIXdKUC.css.br +0 -0
- codex/static_root/assets/change-password-dialog-DrIXdKUC.css.gz +0 -0
- codex/static_root/assets/confirm-dialog-B7w6z2rf.472011c06253.css +1 -0
- codex/static_root/assets/confirm-dialog-B7w6z2rf.css +1 -0
- codex/static_root/assets/confirm-dialog-CqDEpU9k.e1811488121d.js +1 -0
- codex/static_root/assets/confirm-dialog-CqDEpU9k.e1811488121d.js.br +0 -0
- codex/static_root/assets/confirm-dialog-CqDEpU9k.e1811488121d.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-CqDEpU9k.js +1 -0
- codex/static_root/assets/confirm-dialog-CqDEpU9k.js.br +0 -0
- codex/static_root/assets/confirm-dialog-CqDEpU9k.js.gz +0 -0
- codex/static_root/assets/datetime-column-UxNaJr8b.c06a11531af3.js +1 -0
- codex/static_root/assets/datetime-column-UxNaJr8b.c06a11531af3.js.br +0 -0
- codex/static_root/assets/datetime-column-UxNaJr8b.c06a11531af3.js.gz +0 -0
- codex/static_root/assets/datetime-column-UxNaJr8b.js +1 -0
- codex/static_root/assets/datetime-column-UxNaJr8b.js.br +0 -0
- codex/static_root/assets/datetime-column-UxNaJr8b.js.gz +0 -0
- codex/static_root/assets/filter-DskcqZHA.e707b5a05b4b.js +1 -0
- codex/static_root/assets/filter-DskcqZHA.e707b5a05b4b.js.br +0 -0
- codex/static_root/assets/filter-DskcqZHA.e707b5a05b4b.js.gz +0 -0
- codex/static_root/assets/filter-DskcqZHA.js +1 -0
- codex/static_root/assets/filter-DskcqZHA.js.br +0 -0
- codex/static_root/assets/filter-DskcqZHA.js.gz +0 -0
- codex/static_root/assets/flag-tab-CqWovuBu.4dfc6b251e85.css +1 -0
- codex/static_root/assets/flag-tab-CqWovuBu.4dfc6b251e85.css.br +0 -0
- codex/static_root/assets/flag-tab-CqWovuBu.4dfc6b251e85.css.gz +0 -0
- codex/static_root/assets/flag-tab-CqWovuBu.css +1 -0
- codex/static_root/assets/flag-tab-CqWovuBu.css.br +0 -0
- codex/static_root/assets/flag-tab-CqWovuBu.css.gz +0 -0
- codex/static_root/assets/flag-tab-xBeWEQ0w.582e77d9e885.js +1 -0
- codex/static_root/assets/flag-tab-xBeWEQ0w.582e77d9e885.js.br +0 -0
- codex/static_root/assets/flag-tab-xBeWEQ0w.582e77d9e885.js.gz +0 -0
- codex/static_root/assets/flag-tab-xBeWEQ0w.js +1 -0
- codex/static_root/assets/flag-tab-xBeWEQ0w.js.br +0 -0
- codex/static_root/assets/flag-tab-xBeWEQ0w.js.gz +0 -0
- codex/static_root/assets/group-tab-Czt2x61x.56e2886b1bac.js +1 -0
- codex/static_root/assets/group-tab-Czt2x61x.56e2886b1bac.js.br +0 -0
- codex/static_root/assets/group-tab-Czt2x61x.56e2886b1bac.js.gz +0 -0
- codex/static_root/assets/group-tab-Czt2x61x.js +1 -0
- codex/static_root/assets/group-tab-Czt2x61x.js.br +0 -0
- codex/static_root/assets/group-tab-Czt2x61x.js.gz +0 -0
- codex/static_root/assets/group-tab-DkIN1Heu.948e907b1e6b.css +1 -0
- codex/static_root/assets/group-tab-DkIN1Heu.948e907b1e6b.css.br +0 -0
- codex/static_root/assets/group-tab-DkIN1Heu.948e907b1e6b.css.gz +0 -0
- codex/static_root/assets/group-tab-DkIN1Heu.css +1 -0
- codex/static_root/assets/group-tab-DkIN1Heu.css.br +0 -0
- codex/static_root/assets/group-tab-DkIN1Heu.css.gz +0 -0
- codex/static_root/assets/http-error-NHcwE5e_.d49089e40589.js +1 -0
- codex/static_root/assets/http-error-NHcwE5e_.d49089e40589.js.br +0 -0
- codex/static_root/assets/http-error-NHcwE5e_.d49089e40589.js.gz +0 -0
- codex/static_root/assets/http-error-NHcwE5e_.js +1 -0
- codex/static_root/assets/http-error-NHcwE5e_.js.br +0 -0
- codex/static_root/assets/http-error-NHcwE5e_.js.gz +0 -0
- codex/static_root/assets/index-CL_6g4tJ.523d7b3d350f.css +1 -0
- codex/static_root/assets/index-CL_6g4tJ.523d7b3d350f.css.br +0 -0
- codex/static_root/assets/index-CL_6g4tJ.523d7b3d350f.css.gz +0 -0
- codex/static_root/assets/index-CL_6g4tJ.css +1 -0
- codex/static_root/assets/index-CL_6g4tJ.css.br +0 -0
- codex/static_root/assets/index-CL_6g4tJ.css.gz +0 -0
- codex/static_root/assets/index-DYNNO5kn.24a2d270253a.js +1 -0
- codex/static_root/assets/index-DYNNO5kn.24a2d270253a.js.br +0 -0
- codex/static_root/assets/index-DYNNO5kn.24a2d270253a.js.gz +0 -0
- codex/static_root/assets/index-DYNNO5kn.js +1 -0
- codex/static_root/assets/index-DYNNO5kn.js.br +0 -0
- codex/static_root/assets/index-DYNNO5kn.js.gz +0 -0
- codex/static_root/assets/library-tab-CgIqcjvj.60327dfa8ecb.js +1 -0
- codex/static_root/assets/library-tab-CgIqcjvj.60327dfa8ecb.js.br +0 -0
- codex/static_root/assets/library-tab-CgIqcjvj.60327dfa8ecb.js.gz +0 -0
- codex/static_root/assets/library-tab-CgIqcjvj.js +1 -0
- codex/static_root/assets/library-tab-CgIqcjvj.js.br +0 -0
- codex/static_root/assets/library-tab-CgIqcjvj.js.gz +0 -0
- codex/static_root/assets/{library-tab-Bh7ErAk7.7c44200ee727.css → library-tab-Wew8YOLv.0c1780a6b68e.css} +1 -1
- codex/static_root/assets/library-tab-Wew8YOLv.0c1780a6b68e.css.br +0 -0
- codex/static_root/assets/library-tab-Wew8YOLv.0c1780a6b68e.css.gz +0 -0
- codex/static_root/assets/{library-tab-Bh7ErAk7.css → library-tab-Wew8YOLv.css} +1 -1
- codex/static_root/assets/library-tab-Wew8YOLv.css.br +0 -0
- codex/static_root/assets/library-tab-Wew8YOLv.css.gz +0 -0
- codex/static_root/assets/main-B3EwXQ3Q.14dfc21e272c.js +35 -0
- codex/static_root/assets/main-B3EwXQ3Q.14dfc21e272c.js.br +0 -0
- codex/static_root/assets/main-B3EwXQ3Q.14dfc21e272c.js.gz +0 -0
- codex/static_root/assets/main-B3EwXQ3Q.js +35 -0
- codex/static_root/assets/main-B3EwXQ3Q.js.br +0 -0
- codex/static_root/assets/main-B3EwXQ3Q.js.gz +0 -0
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.f39d84e2380a.js +1 -0
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.f39d84e2380a.js.br +0 -0
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.f39d84e2380a.js.gz +0 -0
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.js +1 -0
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.js.br +0 -0
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-CrruiVov.3bf9b795350d.js +1 -0
- codex/static_root/assets/pagination-toolbar-CrruiVov.3bf9b795350d.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-CrruiVov.3bf9b795350d.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-CrruiVov.js +1 -0
- codex/static_root/assets/pagination-toolbar-CrruiVov.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-CrruiVov.js.gz +0 -0
- codex/static_root/assets/{pagination-toolbar-BzruZPpu.css → pagination-toolbar-DGrxp2OD.css} +1 -1
- codex/static_root/assets/pagination-toolbar-DGrxp2OD.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-DGrxp2OD.css.gz +0 -0
- codex/static_root/assets/{pagination-toolbar-BzruZPpu.397ad4e3d029.css → pagination-toolbar-DGrxp2OD.f960a624f04f.css} +1 -1
- codex/static_root/assets/pagination-toolbar-DGrxp2OD.f960a624f04f.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-DGrxp2OD.f960a624f04f.css.gz +0 -0
- codex/static_root/assets/pdf-doc-CG5-AZ2M.b94aac7e3313.css +1 -0
- codex/static_root/assets/pdf-doc-CG5-AZ2M.b94aac7e3313.css.br +1 -0
- codex/static_root/assets/pdf-doc-CG5-AZ2M.b94aac7e3313.css.gz +0 -0
- codex/static_root/assets/pdf-doc-CG5-AZ2M.css +1 -0
- codex/static_root/assets/pdf-doc-CG5-AZ2M.css.br +1 -0
- codex/static_root/assets/pdf-doc-CG5-AZ2M.css.gz +0 -0
- codex/static_root/assets/{pdf-doc-C_RhfgHE.3d82cd502628.js → pdf-doc-ctqZIwOP.7e7b2c815ea4.js} +14 -14
- codex/static_root/assets/pdf-doc-ctqZIwOP.7e7b2c815ea4.js.br +0 -0
- codex/static_root/assets/pdf-doc-ctqZIwOP.7e7b2c815ea4.js.gz +0 -0
- codex/static_root/assets/{pdf-doc-C_RhfgHE.js → pdf-doc-ctqZIwOP.js} +14 -14
- codex/static_root/assets/pdf-doc-ctqZIwOP.js.br +0 -0
- codex/static_root/assets/pdf-doc-ctqZIwOP.js.gz +0 -0
- codex/static_root/assets/reader-DPLhdrJD.268417c618c5.js +2 -0
- codex/static_root/assets/reader-DPLhdrJD.268417c618c5.js.br +0 -0
- codex/static_root/assets/reader-DPLhdrJD.268417c618c5.js.gz +0 -0
- codex/static_root/assets/reader-DPLhdrJD.js +2 -0
- codex/static_root/assets/reader-DPLhdrJD.js.br +0 -0
- codex/static_root/assets/reader-DPLhdrJD.js.gz +0 -0
- codex/static_root/assets/reader-nD70BeEz.06e85e73c391.css +1 -0
- codex/static_root/assets/reader-nD70BeEz.06e85e73c391.css.br +0 -0
- codex/static_root/assets/reader-nD70BeEz.06e85e73c391.css.gz +0 -0
- codex/static_root/assets/reader-nD70BeEz.css +1 -0
- codex/static_root/assets/reader-nD70BeEz.css.br +0 -0
- codex/static_root/assets/reader-nD70BeEz.css.gz +0 -0
- codex/static_root/assets/relation-chips-DOALMcWL.5d3b8100ba03.js +1 -0
- codex/static_root/assets/relation-chips-DOALMcWL.5d3b8100ba03.js.br +0 -0
- codex/static_root/assets/relation-chips-DOALMcWL.5d3b8100ba03.js.gz +0 -0
- codex/static_root/assets/relation-chips-DOALMcWL.js +1 -0
- codex/static_root/assets/relation-chips-DOALMcWL.js.br +0 -0
- codex/static_root/assets/relation-chips-DOALMcWL.js.gz +0 -0
- codex/static_root/assets/settings-drawer-BVj1U_LC.c68369e0c2de.js +2 -0
- codex/static_root/assets/settings-drawer-BVj1U_LC.c68369e0c2de.js.br +0 -0
- codex/static_root/assets/settings-drawer-BVj1U_LC.c68369e0c2de.js.gz +0 -0
- codex/static_root/assets/settings-drawer-BVj1U_LC.js +2 -0
- codex/static_root/assets/settings-drawer-BVj1U_LC.js.br +0 -0
- codex/static_root/assets/settings-drawer-BVj1U_LC.js.gz +0 -0
- codex/static_root/assets/{stats-tab-BXGisn5N.9b7a71e7fe28.css → stats-tab-BAYTqQNg.5f715428c394.css} +1 -1
- codex/static_root/assets/stats-tab-BAYTqQNg.5f715428c394.css.br +0 -0
- codex/static_root/assets/stats-tab-BAYTqQNg.5f715428c394.css.gz +0 -0
- codex/static_root/assets/{stats-tab-BXGisn5N.css → stats-tab-BAYTqQNg.css} +1 -1
- codex/static_root/assets/stats-tab-BAYTqQNg.css.br +0 -0
- codex/static_root/assets/stats-tab-BAYTqQNg.css.gz +0 -0
- codex/static_root/assets/stats-tab-DDLwwwnP.35305258097b.js +1 -0
- codex/static_root/assets/stats-tab-DDLwwwnP.35305258097b.js.br +0 -0
- codex/static_root/assets/stats-tab-DDLwwwnP.35305258097b.js.gz +0 -0
- codex/static_root/assets/stats-tab-DDLwwwnP.js +1 -0
- codex/static_root/assets/stats-tab-DDLwwwnP.js.br +0 -0
- codex/static_root/assets/stats-tab-DDLwwwnP.js.gz +0 -0
- codex/static_root/assets/task-tab--cXi48kg.5dfd6890a1c2.css +1 -0
- codex/static_root/assets/{task-tab-1XiWn9xP.06cb8e1b794d.css.br → task-tab--cXi48kg.5dfd6890a1c2.css.br} +1 -1
- codex/static_root/assets/task-tab--cXi48kg.5dfd6890a1c2.css.gz +0 -0
- codex/static_root/assets/task-tab--cXi48kg.css +1 -0
- codex/static_root/assets/{task-tab-1XiWn9xP.css.br → task-tab--cXi48kg.css.br} +1 -1
- codex/static_root/assets/task-tab--cXi48kg.css.gz +0 -0
- codex/static_root/assets/task-tab-BpP3n2dO.c853eb565200.js +1 -0
- codex/static_root/assets/task-tab-BpP3n2dO.c853eb565200.js.br +0 -0
- codex/static_root/assets/task-tab-BpP3n2dO.c853eb565200.js.gz +0 -0
- codex/static_root/assets/task-tab-BpP3n2dO.js +1 -0
- codex/static_root/assets/task-tab-BpP3n2dO.js.br +0 -0
- codex/static_root/assets/task-tab-BpP3n2dO.js.gz +0 -0
- codex/static_root/assets/transition-3g2arGgl.c6e6f91b7978.js +1 -0
- codex/static_root/assets/transition-3g2arGgl.c6e6f91b7978.js.br +0 -0
- codex/static_root/assets/transition-3g2arGgl.c6e6f91b7978.js.gz +0 -0
- codex/static_root/assets/transition-3g2arGgl.js +1 -0
- codex/static_root/assets/transition-3g2arGgl.js.br +0 -0
- codex/static_root/assets/transition-3g2arGgl.js.gz +0 -0
- codex/static_root/assets/transition-5LRFTPo5.3d726f9bbcb0.css +1 -0
- codex/static_root/assets/transition-5LRFTPo5.3d726f9bbcb0.css.br +4 -0
- codex/static_root/assets/transition-5LRFTPo5.3d726f9bbcb0.css.gz +0 -0
- codex/static_root/assets/transition-5LRFTPo5.css +1 -0
- codex/static_root/assets/transition-5LRFTPo5.css.br +4 -0
- codex/static_root/assets/transition-5LRFTPo5.css.gz +0 -0
- codex/static_root/assets/{unauthorized-muDsv-rC.2166ec8b3a32.css → unauthorized-BjhIc97q.728511c92cd0.css} +1 -1
- codex/static_root/assets/unauthorized-BjhIc97q.728511c92cd0.css.br +0 -0
- codex/static_root/assets/unauthorized-BjhIc97q.728511c92cd0.css.gz +0 -0
- codex/static_root/assets/{unauthorized-muDsv-rC.css → unauthorized-BjhIc97q.css} +1 -1
- codex/static_root/assets/unauthorized-BjhIc97q.css.br +0 -0
- codex/static_root/assets/unauthorized-BjhIc97q.css.gz +0 -0
- codex/static_root/assets/unauthorized-CdumQ1Vf.79d9a61eb572.js +1 -0
- codex/static_root/assets/unauthorized-CdumQ1Vf.79d9a61eb572.js.br +0 -0
- codex/static_root/assets/unauthorized-CdumQ1Vf.79d9a61eb572.js.gz +0 -0
- codex/static_root/assets/unauthorized-CdumQ1Vf.js +1 -0
- codex/static_root/assets/unauthorized-CdumQ1Vf.js.br +0 -0
- codex/static_root/assets/unauthorized-CdumQ1Vf.js.gz +0 -0
- codex/static_root/assets/user-tab-D6oOKZTP.05944b00c700.js +1 -0
- codex/static_root/assets/user-tab-D6oOKZTP.05944b00c700.js.br +0 -0
- codex/static_root/assets/user-tab-D6oOKZTP.05944b00c700.js.gz +0 -0
- codex/static_root/assets/user-tab-D6oOKZTP.js +1 -0
- codex/static_root/assets/user-tab-D6oOKZTP.js.br +0 -0
- codex/static_root/assets/user-tab-D6oOKZTP.js.gz +0 -0
- codex/static_root/manifest.c5f1de88b1ac.json +712 -0
- codex/static_root/manifest.c5f1de88b1ac.json.br +0 -0
- codex/static_root/manifest.c5f1de88b1ac.json.gz +0 -0
- codex/static_root/manifest.json +395 -294
- codex/static_root/manifest.json.br +0 -0
- codex/static_root/manifest.json.gz +0 -0
- codex/static_root/staticfiles.json +1 -1
- codex/status_controller.py +15 -10
- codex/threads.py +1 -1
- codex/urls/api/auth.py +1 -1
- codex/urls/api/browser.py +1 -1
- codex/views/admin/library.py +18 -13
- codex/views/admin/stats.py +23 -16
- codex/views/admin/tasks.py +45 -40
- codex/views/auth.py +50 -74
- codex/views/bookmark.py +16 -153
- codex/views/browser/annotate/__init__.py +1 -0
- codex/views/browser/annotate/bookmark.py +112 -0
- codex/views/browser/annotate/card.py +61 -0
- codex/views/browser/annotate/order.py +247 -0
- codex/views/browser/breadcrumbs.py +90 -11
- codex/views/browser/browser.py +82 -117
- codex/views/browser/choices.py +15 -18
- codex/views/browser/cover.py +18 -24
- codex/views/browser/filters/bookmark.py +18 -19
- codex/views/browser/filters/field.py +8 -3
- codex/views/browser/filters/filter.py +69 -0
- codex/views/browser/filters/group.py +9 -6
- codex/views/browser/filters/search/__init__.py +1 -0
- codex/views/browser/filters/search/aliases.py +81 -0
- codex/views/browser/filters/search/field/__init__.py +1 -0
- codex/views/browser/filters/search/field/column.py +53 -0
- codex/views/browser/filters/search/field/expression.py +177 -0
- codex/views/browser/filters/search/field/filter.py +70 -0
- codex/views/browser/filters/search/field/optimize.py +71 -0
- codex/views/browser/filters/search/field/parse.py +187 -0
- codex/views/browser/filters/search/fts.py +24 -0
- codex/views/browser/filters/search/parse.py +250 -0
- codex/views/browser/group_mtime.py +83 -0
- codex/views/browser/metadata/__init__.py +1 -0
- codex/views/browser/metadata/annotate.py +109 -0
- codex/views/browser/metadata/copy_intersections.py +90 -0
- codex/views/browser/metadata/metadata.py +83 -0
- codex/views/browser/metadata/query_intersections.py +112 -0
- codex/views/browser/mtime.py +2 -10
- codex/views/browser/order_by.py +22 -16
- codex/views/browser/page_in_bounds.py +88 -0
- codex/views/browser/paginate.py +32 -123
- codex/views/browser/params.py +64 -0
- codex/views/browser/title.py +1 -6
- codex/views/browser/validate.py +68 -33
- codex/views/const.py +0 -1
- codex/views/download.py +1 -1
- codex/views/mixins.py +27 -15
- codex/views/opds/const.py +2 -3
- codex/views/opds/urls.py +2 -2
- codex/views/opds/util.py +2 -3
- codex/views/opds/v1/entry/links.py +3 -1
- codex/views/opds/v1/facets.py +65 -12
- codex/views/opds/v1/feed.py +7 -65
- codex/views/opds/v1/links.py +5 -4
- codex/views/opds/v2/feed.py +2 -28
- codex/views/opds/v2/links.py +27 -2
- codex/views/opds/v2/publications.py +5 -6
- codex/views/opds/v2/top_links.py +3 -6
- codex/views/public.py +2 -2
- codex/views/reader/arcs.py +0 -3
- codex/views/reader/books.py +57 -41
- codex/views/reader/page.py +13 -7
- codex/views/reader/{init.py → params.py} +38 -32
- codex/views/reader/reader.py +1 -2
- codex/views/session.py +43 -54
- codex/views/timezone.py +54 -0
- codex/views/version.py +1 -1
- {codex-1.6.18.dist-info → codex-1.7.0.dist-info}/METADATA +15 -10
- {codex-1.6.18.dist-info → codex-1.7.0.dist-info}/RECORD +474 -485
- codex/_vendor/__init__.py +0 -0
- codex/_vendor/django_haystack-3.2.1.dist-info/AUTHORS +0 -127
- codex/_vendor/django_haystack-3.2.1.dist-info/INSTALLER +0 -1
- codex/_vendor/django_haystack-3.2.1.dist-info/LICENSE +0 -31
- codex/_vendor/django_haystack-3.2.1.dist-info/METADATA +0 -98
- codex/_vendor/django_haystack-3.2.1.dist-info/RECORD +0 -97
- codex/_vendor/django_haystack-3.2.1.dist-info/REQUESTED +0 -0
- codex/_vendor/django_haystack-3.2.1.dist-info/WHEEL +0 -5
- codex/_vendor/django_haystack-3.2.1.dist-info/top_level.txt +0 -1
- codex/_vendor/haystack/__init__.py +0 -80
- codex/_vendor/haystack/admin.py +0 -163
- codex/_vendor/haystack/apps.py +0 -31
- codex/_vendor/haystack/backends/__init__.py +0 -1109
- codex/_vendor/haystack/backends/elasticsearch2_backend.py +0 -390
- codex/_vendor/haystack/backends/elasticsearch5_backend.py +0 -483
- codex/_vendor/haystack/backends/elasticsearch7_backend.py +0 -586
- codex/_vendor/haystack/backends/elasticsearch_backend.py +0 -1141
- codex/_vendor/haystack/backends/simple_backend.py +0 -132
- codex/_vendor/haystack/backends/solr_backend.py +0 -991
- codex/_vendor/haystack/backends/whoosh_backend.py +0 -1104
- codex/_vendor/haystack/constants.py +0 -57
- codex/_vendor/haystack/exceptions.py +0 -57
- codex/_vendor/haystack/fields.py +0 -562
- codex/_vendor/haystack/forms.py +0 -135
- codex/_vendor/haystack/generic_views.py +0 -141
- codex/_vendor/haystack/indexes.py +0 -548
- codex/_vendor/haystack/inputs.py +0 -169
- codex/_vendor/haystack/management/__init__.py +0 -0
- codex/_vendor/haystack/management/commands/__init__.py +0 -0
- codex/_vendor/haystack/management/commands/build_solr_schema.py +0 -187
- codex/_vendor/haystack/management/commands/clear_index.py +0 -67
- codex/_vendor/haystack/management/commands/haystack_info.py +0 -22
- codex/_vendor/haystack/management/commands/rebuild_index.py +0 -65
- codex/_vendor/haystack/management/commands/update_index.py +0 -438
- codex/_vendor/haystack/manager.py +0 -105
- codex/_vendor/haystack/models.py +0 -257
- codex/_vendor/haystack/panels.py +0 -89
- codex/_vendor/haystack/query.py +0 -771
- codex/_vendor/haystack/routers.py +0 -14
- codex/_vendor/haystack/signals.py +0 -88
- codex/_vendor/haystack/templates/panels/haystack.html +0 -33
- codex/_vendor/haystack/templates/search_configuration/schema.xml +0 -1056
- codex/_vendor/haystack/templates/search_configuration/solrconfig.xml +0 -1446
- codex/_vendor/haystack/templatetags/__init__.py +0 -0
- codex/_vendor/haystack/templatetags/highlight.py +0 -131
- codex/_vendor/haystack/templatetags/more_like_this.py +0 -119
- codex/_vendor/haystack/urls.py +0 -5
- codex/_vendor/haystack/utils/__init__.py +0 -84
- codex/_vendor/haystack/utils/app_loading.py +0 -34
- codex/_vendor/haystack/utils/geo.py +0 -71
- codex/_vendor/haystack/utils/highlighting.py +0 -165
- codex/_vendor/haystack/utils/loading.py +0 -374
- codex/_vendor/haystack/utils/log.py +0 -21
- codex/_vendor/haystack/version.py +0 -16
- codex/_vendor/haystack/views.py +0 -253
- codex/integrity.py +0 -492
- codex/librarian/search/merge.py +0 -86
- codex/librarian/search/version.py +0 -63
- codex/search/__init__.py +0 -1
- codex/search/backend.py +0 -524
- codex/search/backend_search.py +0 -229
- codex/search/engine.py +0 -33
- codex/search/indexes.py +0 -79
- codex/search/query.py +0 -67
- codex/search/writing.py +0 -180
- codex/serializers/choices.py +0 -196
- codex/static_root/assets/VCheckbox-D_kRyvnz.981ece08698f.js +0 -1
- codex/static_root/assets/VCheckbox-D_kRyvnz.981ece08698f.js.br +0 -0
- codex/static_root/assets/VCheckbox-D_kRyvnz.981ece08698f.js.gz +0 -0
- codex/static_root/assets/VCheckbox-D_kRyvnz.js +0 -1
- codex/static_root/assets/VCheckbox-D_kRyvnz.js.br +0 -0
- codex/static_root/assets/VCheckbox-D_kRyvnz.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-CasNFNDK.3c20f8d4f5d9.js +0 -1
- codex/static_root/assets/VCheckboxBtn-CasNFNDK.3c20f8d4f5d9.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-CasNFNDK.3c20f8d4f5d9.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-CasNFNDK.js +0 -1
- codex/static_root/assets/VCheckboxBtn-CasNFNDK.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-CasNFNDK.js.gz +0 -0
- codex/static_root/assets/VCombobox-BemG8ph3.afde3fec668d.js +0 -1
- codex/static_root/assets/VCombobox-BemG8ph3.afde3fec668d.js.br +0 -0
- codex/static_root/assets/VCombobox-BemG8ph3.afde3fec668d.js.gz +0 -0
- codex/static_root/assets/VCombobox-BemG8ph3.js +0 -1
- codex/static_root/assets/VCombobox-BemG8ph3.js.br +0 -0
- codex/static_root/assets/VCombobox-BemG8ph3.js.gz +0 -0
- codex/static_root/assets/VDialog-38np3TSA.5a0cb7a9e56d.css +0 -1
- codex/static_root/assets/VDialog-38np3TSA.5a0cb7a9e56d.css.br +0 -0
- codex/static_root/assets/VDialog-38np3TSA.5a0cb7a9e56d.css.gz +0 -0
- codex/static_root/assets/VDialog-38np3TSA.css +0 -1
- codex/static_root/assets/VDialog-38np3TSA.css.br +0 -0
- codex/static_root/assets/VDialog-38np3TSA.css.gz +0 -0
- codex/static_root/assets/VDialog-DOm1w6bL.3a8bac3e555f.js +0 -1
- codex/static_root/assets/VDialog-DOm1w6bL.3a8bac3e555f.js.br +0 -0
- codex/static_root/assets/VDialog-DOm1w6bL.3a8bac3e555f.js.gz +0 -0
- codex/static_root/assets/VDialog-DOm1w6bL.js +0 -1
- codex/static_root/assets/VDialog-DOm1w6bL.js.br +0 -0
- codex/static_root/assets/VDialog-DOm1w6bL.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-BIAAQEIk.536cfca15bf5.js +0 -1
- codex/static_root/assets/VExpansionPanels-BIAAQEIk.536cfca15bf5.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-BIAAQEIk.536cfca15bf5.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-BIAAQEIk.js +0 -1
- codex/static_root/assets/VExpansionPanels-BIAAQEIk.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-BIAAQEIk.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-CQd2B2cC.5484da094948.js +0 -1
- codex/static_root/assets/VRadioGroup-CQd2B2cC.5484da094948.js.br +0 -0
- codex/static_root/assets/VRadioGroup-CQd2B2cC.5484da094948.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-CQd2B2cC.js +0 -1
- codex/static_root/assets/VRadioGroup-CQd2B2cC.js.br +0 -0
- codex/static_root/assets/VRadioGroup-CQd2B2cC.js.gz +0 -0
- codex/static_root/assets/VSelect-Ca2bIOso.6613989e4c45.css +0 -1
- codex/static_root/assets/VSelect-Ca2bIOso.6613989e4c45.css.br +0 -0
- codex/static_root/assets/VSelect-Ca2bIOso.6613989e4c45.css.gz +0 -0
- codex/static_root/assets/VSelect-Ca2bIOso.css +0 -1
- codex/static_root/assets/VSelect-Ca2bIOso.css.br +0 -0
- codex/static_root/assets/VSelect-Ca2bIOso.css.gz +0 -0
- codex/static_root/assets/VSelect-DhYHkIlU.fcb6b4997b19.js +0 -1
- codex/static_root/assets/VSelect-DhYHkIlU.fcb6b4997b19.js.br +0 -0
- codex/static_root/assets/VSelect-DhYHkIlU.fcb6b4997b19.js.gz +0 -0
- codex/static_root/assets/VSelect-DhYHkIlU.js +0 -1
- codex/static_root/assets/VSelect-DhYHkIlU.js.br +0 -0
- codex/static_root/assets/VSelect-DhYHkIlU.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-DZ7Z3QaY.753a2564123a.js +0 -1
- codex/static_root/assets/VSelectionControl-DZ7Z3QaY.753a2564123a.js.br +0 -0
- codex/static_root/assets/VSelectionControl-DZ7Z3QaY.753a2564123a.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-DZ7Z3QaY.js +0 -1
- codex/static_root/assets/VSelectionControl-DZ7Z3QaY.js.br +0 -0
- codex/static_root/assets/VSelectionControl-DZ7Z3QaY.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-BfZo3lM5.0ffb08d15ccd.js +0 -1
- codex/static_root/assets/VSlideGroup-BfZo3lM5.0ffb08d15ccd.js.br +0 -0
- codex/static_root/assets/VSlideGroup-BfZo3lM5.0ffb08d15ccd.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-BfZo3lM5.js +0 -1
- codex/static_root/assets/VSlideGroup-BfZo3lM5.js.br +0 -0
- codex/static_root/assets/VSlideGroup-BfZo3lM5.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.2c836070ec75.css +0 -1
- codex/static_root/assets/VSlideGroup-Dk_1upHt.2c836070ec75.css.br +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.2c836070ec75.css.gz +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.css +0 -1
- codex/static_root/assets/VSlideGroup-Dk_1upHt.css.br +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.css.gz +0 -0
- codex/static_root/assets/VTable-xJS8rtC3.456750dc5d3f.js +0 -1
- codex/static_root/assets/VTable-xJS8rtC3.456750dc5d3f.js.br +0 -0
- codex/static_root/assets/VTable-xJS8rtC3.456750dc5d3f.js.gz +0 -0
- codex/static_root/assets/VTable-xJS8rtC3.js +0 -1
- codex/static_root/assets/VTable-xJS8rtC3.js.br +0 -0
- codex/static_root/assets/VTable-xJS8rtC3.js.gz +0 -0
- codex/static_root/assets/VTextField-CWKnATIB.7e07951afd27.js +0 -1
- codex/static_root/assets/VTextField-CWKnATIB.7e07951afd27.js.br +0 -0
- codex/static_root/assets/VTextField-CWKnATIB.7e07951afd27.js.gz +0 -0
- codex/static_root/assets/VTextField-CWKnATIB.js +0 -1
- codex/static_root/assets/VTextField-CWKnATIB.js.br +0 -0
- codex/static_root/assets/VTextField-CWKnATIB.js.gz +0 -0
- codex/static_root/assets/VTextField-Crc3gdNh.39995ccf4d52.css +0 -1
- codex/static_root/assets/VTextField-Crc3gdNh.39995ccf4d52.css.br +0 -0
- codex/static_root/assets/VTextField-Crc3gdNh.39995ccf4d52.css.gz +0 -0
- codex/static_root/assets/VTextField-Crc3gdNh.css +0 -1
- codex/static_root/assets/VTextField-Crc3gdNh.css.br +0 -0
- codex/static_root/assets/VTextField-Crc3gdNh.css.gz +0 -0
- codex/static_root/assets/VWindowItem-COG2FuUz.12a198f11fe7.js +0 -1
- codex/static_root/assets/VWindowItem-COG2FuUz.12a198f11fe7.js.br +0 -0
- codex/static_root/assets/VWindowItem-COG2FuUz.12a198f11fe7.js.gz +0 -0
- codex/static_root/assets/VWindowItem-COG2FuUz.js +0 -1
- codex/static_root/assets/VWindowItem-COG2FuUz.js.br +0 -0
- codex/static_root/assets/VWindowItem-COG2FuUz.js.gz +0 -0
- codex/static_root/assets/admin-CWEjaFr5.7d4523387384.css.br +0 -0
- codex/static_root/assets/admin-CWEjaFr5.7d4523387384.css.gz +0 -0
- codex/static_root/assets/admin-CWEjaFr5.css.br +0 -0
- codex/static_root/assets/admin-CWEjaFr5.css.gz +0 -0
- codex/static_root/assets/admin-Dl2A7cx-.5fbd345dbc05.js +0 -1
- codex/static_root/assets/admin-Dl2A7cx-.5fbd345dbc05.js.br +0 -0
- codex/static_root/assets/admin-Dl2A7cx-.5fbd345dbc05.js.gz +0 -0
- codex/static_root/assets/admin-Dl2A7cx-.js +0 -1
- codex/static_root/assets/admin-Dl2A7cx-.js.br +0 -0
- codex/static_root/assets/admin-Dl2A7cx-.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.3cb33056e994.css +0 -1
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.3cb33056e994.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.3cb33056e994.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.css +0 -1
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-D4CYCd_H.fd8dcc769daf.js +0 -30
- codex/static_root/assets/admin-drawer-panel-D4CYCd_H.fd8dcc769daf.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-D4CYCd_H.fd8dcc769daf.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-D4CYCd_H.js +0 -30
- codex/static_root/assets/admin-drawer-panel-D4CYCd_H.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-D4CYCd_H.js.gz +0 -0
- codex/static_root/assets/browser-Binc3n9H.313722d27ca3.css +0 -1
- codex/static_root/assets/browser-Binc3n9H.313722d27ca3.css.br +0 -0
- codex/static_root/assets/browser-Binc3n9H.313722d27ca3.css.gz +0 -0
- codex/static_root/assets/browser-Binc3n9H.css +0 -1
- codex/static_root/assets/browser-Binc3n9H.css.br +0 -0
- codex/static_root/assets/browser-Binc3n9H.css.gz +0 -0
- codex/static_root/assets/browser-DOhldfGx.43465be961b0.js +0 -1
- codex/static_root/assets/browser-DOhldfGx.43465be961b0.js.br +0 -0
- codex/static_root/assets/browser-DOhldfGx.43465be961b0.js.gz +0 -0
- codex/static_root/assets/browser-DOhldfGx.js +0 -1
- codex/static_root/assets/browser-DOhldfGx.js.br +0 -0
- codex/static_root/assets/browser-DOhldfGx.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-Cebek1-c.aff2975e31f8.css +0 -1
- codex/static_root/assets/change-password-dialog-Cebek1-c.aff2975e31f8.css.br +0 -0
- codex/static_root/assets/change-password-dialog-Cebek1-c.aff2975e31f8.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-Cebek1-c.css +0 -1
- codex/static_root/assets/change-password-dialog-Cebek1-c.css.br +0 -0
- codex/static_root/assets/change-password-dialog-Cebek1-c.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-CrIdNi1F.9451b8d8e301.js +0 -1
- codex/static_root/assets/change-password-dialog-CrIdNi1F.9451b8d8e301.js.br +0 -0
- codex/static_root/assets/change-password-dialog-CrIdNi1F.9451b8d8e301.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-CrIdNi1F.js +0 -1
- codex/static_root/assets/change-password-dialog-CrIdNi1F.js.br +0 -0
- codex/static_root/assets/change-password-dialog-CrIdNi1F.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-B8T3Aamf.5d5b5715840a.js +0 -1
- codex/static_root/assets/confirm-dialog-B8T3Aamf.5d5b5715840a.js.br +0 -0
- codex/static_root/assets/confirm-dialog-B8T3Aamf.5d5b5715840a.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-B8T3Aamf.js +0 -1
- codex/static_root/assets/confirm-dialog-B8T3Aamf.js.br +0 -0
- codex/static_root/assets/confirm-dialog-B8T3Aamf.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-BmhedLCx.7c2103d319d4.css +0 -1
- codex/static_root/assets/confirm-dialog-BmhedLCx.css +0 -1
- codex/static_root/assets/datetime-column-DJjaMFv9.d281fe18446a.js +0 -1
- codex/static_root/assets/datetime-column-DJjaMFv9.d281fe18446a.js.br +0 -0
- codex/static_root/assets/datetime-column-DJjaMFv9.d281fe18446a.js.gz +0 -0
- codex/static_root/assets/datetime-column-DJjaMFv9.js +0 -1
- codex/static_root/assets/datetime-column-DJjaMFv9.js.br +0 -0
- codex/static_root/assets/datetime-column-DJjaMFv9.js.gz +0 -0
- codex/static_root/assets/filter-DMpQdE_u.8d88bbf01ae8.js +0 -1
- codex/static_root/assets/filter-DMpQdE_u.8d88bbf01ae8.js.br +0 -0
- codex/static_root/assets/filter-DMpQdE_u.8d88bbf01ae8.js.gz +0 -0
- codex/static_root/assets/filter-DMpQdE_u.js +0 -1
- codex/static_root/assets/filter-DMpQdE_u.js.br +0 -0
- codex/static_root/assets/filter-DMpQdE_u.js.gz +0 -0
- codex/static_root/assets/flag-tab-C2TvU4CO.7b424d4fedb2.js +0 -1
- codex/static_root/assets/flag-tab-C2TvU4CO.7b424d4fedb2.js.br +0 -0
- codex/static_root/assets/flag-tab-C2TvU4CO.7b424d4fedb2.js.gz +0 -0
- codex/static_root/assets/flag-tab-C2TvU4CO.js +0 -1
- codex/static_root/assets/flag-tab-C2TvU4CO.js.br +0 -0
- codex/static_root/assets/flag-tab-C2TvU4CO.js.gz +0 -0
- codex/static_root/assets/flag-tab-DBqpLKi7.css +0 -1
- codex/static_root/assets/flag-tab-DBqpLKi7.css.br +0 -0
- codex/static_root/assets/flag-tab-DBqpLKi7.css.gz +0 -0
- codex/static_root/assets/flag-tab-DBqpLKi7.dcfef39f541e.css +0 -1
- codex/static_root/assets/flag-tab-DBqpLKi7.dcfef39f541e.css.br +0 -0
- codex/static_root/assets/flag-tab-DBqpLKi7.dcfef39f541e.css.gz +0 -0
- codex/static_root/assets/group-tab-BOX6rJuK.58304d7d9f28.js +0 -1
- codex/static_root/assets/group-tab-BOX6rJuK.58304d7d9f28.js.br +0 -0
- codex/static_root/assets/group-tab-BOX6rJuK.58304d7d9f28.js.gz +0 -0
- codex/static_root/assets/group-tab-BOX6rJuK.js +0 -1
- codex/static_root/assets/group-tab-BOX6rJuK.js.br +0 -0
- codex/static_root/assets/group-tab-BOX6rJuK.js.gz +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.7e4746634782.css +0 -1
- codex/static_root/assets/group-tab-CBKuS3Iv.7e4746634782.css.br +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.7e4746634782.css.gz +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.css +0 -1
- codex/static_root/assets/group-tab-CBKuS3Iv.css.br +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.css.gz +0 -0
- codex/static_root/assets/http-error-E90fvnsx.103df54057a6.js +0 -1
- codex/static_root/assets/http-error-E90fvnsx.103df54057a6.js.br +0 -0
- codex/static_root/assets/http-error-E90fvnsx.103df54057a6.js.gz +0 -0
- codex/static_root/assets/http-error-E90fvnsx.js +0 -1
- codex/static_root/assets/http-error-E90fvnsx.js.br +0 -0
- codex/static_root/assets/http-error-E90fvnsx.js.gz +0 -0
- codex/static_root/assets/library-tab-Bh7ErAk7.7c44200ee727.css.br +0 -2
- codex/static_root/assets/library-tab-Bh7ErAk7.7c44200ee727.css.gz +0 -0
- codex/static_root/assets/library-tab-Bh7ErAk7.css.br +0 -2
- codex/static_root/assets/library-tab-Bh7ErAk7.css.gz +0 -0
- codex/static_root/assets/library-tab-DoLAFv6A.e504e9181e22.js +0 -1
- codex/static_root/assets/library-tab-DoLAFv6A.e504e9181e22.js.br +0 -0
- codex/static_root/assets/library-tab-DoLAFv6A.e504e9181e22.js.gz +0 -0
- codex/static_root/assets/library-tab-DoLAFv6A.js +0 -1
- codex/static_root/assets/library-tab-DoLAFv6A.js.br +0 -0
- codex/static_root/assets/library-tab-DoLAFv6A.js.gz +0 -0
- codex/static_root/assets/main-BnyyRHtu.383bd5bdf135.js +0 -6
- codex/static_root/assets/main-BnyyRHtu.383bd5bdf135.js.br +0 -0
- codex/static_root/assets/main-BnyyRHtu.383bd5bdf135.js.gz +0 -0
- codex/static_root/assets/main-BnyyRHtu.js +0 -6
- codex/static_root/assets/main-BnyyRHtu.js.br +0 -0
- codex/static_root/assets/main-BnyyRHtu.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-B-H-BgUh.0485a41335d7.js +0 -1
- codex/static_root/assets/pagination-toolbar-B-H-BgUh.0485a41335d7.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-B-H-BgUh.0485a41335d7.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-B-H-BgUh.js +0 -1
- codex/static_root/assets/pagination-toolbar-B-H-BgUh.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-B-H-BgUh.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-BzruZPpu.397ad4e3d029.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-BzruZPpu.397ad4e3d029.css.gz +0 -0
- codex/static_root/assets/pagination-toolbar-BzruZPpu.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-BzruZPpu.css.gz +0 -0
- codex/static_root/assets/pdf-doc-C_RhfgHE.3d82cd502628.js.br +0 -0
- codex/static_root/assets/pdf-doc-C_RhfgHE.3d82cd502628.js.gz +0 -0
- codex/static_root/assets/pdf-doc-C_RhfgHE.js.br +0 -0
- codex/static_root/assets/pdf-doc-C_RhfgHE.js.gz +0 -0
- codex/static_root/assets/pdf-doc-CkC2e3rI.css +0 -1
- codex/static_root/assets/pdf-doc-CkC2e3rI.css.br +0 -0
- codex/static_root/assets/pdf-doc-CkC2e3rI.css.gz +0 -0
- codex/static_root/assets/pdf-doc-CkC2e3rI.da75c385ebd0.css +0 -1
- codex/static_root/assets/pdf-doc-CkC2e3rI.da75c385ebd0.css.br +0 -0
- codex/static_root/assets/pdf-doc-CkC2e3rI.da75c385ebd0.css.gz +0 -0
- codex/static_root/assets/reader-DkEfQBw-.5e7781a737e6.css +0 -1
- codex/static_root/assets/reader-DkEfQBw-.5e7781a737e6.css.br +0 -0
- codex/static_root/assets/reader-DkEfQBw-.5e7781a737e6.css.gz +0 -0
- codex/static_root/assets/reader-DkEfQBw-.css +0 -1
- codex/static_root/assets/reader-DkEfQBw-.css.br +0 -0
- codex/static_root/assets/reader-DkEfQBw-.css.gz +0 -0
- codex/static_root/assets/reader-K27K1JrT.faa6edbda846.js +0 -2
- codex/static_root/assets/reader-K27K1JrT.faa6edbda846.js.br +0 -0
- codex/static_root/assets/reader-K27K1JrT.faa6edbda846.js.gz +0 -0
- codex/static_root/assets/reader-K27K1JrT.js +0 -2
- codex/static_root/assets/reader-K27K1JrT.js.br +0 -0
- codex/static_root/assets/reader-K27K1JrT.js.gz +0 -0
- codex/static_root/assets/relation-chips-CfHz9Cgt.ce0ab88180d5.js +0 -1
- codex/static_root/assets/relation-chips-CfHz9Cgt.ce0ab88180d5.js.br +0 -0
- codex/static_root/assets/relation-chips-CfHz9Cgt.ce0ab88180d5.js.gz +0 -0
- codex/static_root/assets/relation-chips-CfHz9Cgt.js +0 -1
- codex/static_root/assets/relation-chips-CfHz9Cgt.js.br +0 -0
- codex/static_root/assets/relation-chips-CfHz9Cgt.js.gz +0 -0
- codex/static_root/assets/settings-drawer-CF0z39tG.bb0427409b01.js +0 -2
- codex/static_root/assets/settings-drawer-CF0z39tG.bb0427409b01.js.br +0 -0
- codex/static_root/assets/settings-drawer-CF0z39tG.bb0427409b01.js.gz +0 -0
- codex/static_root/assets/settings-drawer-CF0z39tG.js +0 -2
- codex/static_root/assets/settings-drawer-CF0z39tG.js.br +0 -0
- codex/static_root/assets/settings-drawer-CF0z39tG.js.gz +0 -0
- codex/static_root/assets/stats-tab-BXGisn5N.9b7a71e7fe28.css.br +0 -0
- codex/static_root/assets/stats-tab-BXGisn5N.9b7a71e7fe28.css.gz +0 -0
- codex/static_root/assets/stats-tab-BXGisn5N.css.br +0 -0
- codex/static_root/assets/stats-tab-BXGisn5N.css.gz +0 -0
- codex/static_root/assets/stats-tab-m4jtc5tB.fe5a865d950f.js +0 -1
- codex/static_root/assets/stats-tab-m4jtc5tB.fe5a865d950f.js.br +0 -0
- codex/static_root/assets/stats-tab-m4jtc5tB.fe5a865d950f.js.gz +0 -0
- codex/static_root/assets/stats-tab-m4jtc5tB.js +0 -1
- codex/static_root/assets/stats-tab-m4jtc5tB.js.br +0 -0
- codex/static_root/assets/stats-tab-m4jtc5tB.js.gz +0 -0
- codex/static_root/assets/task-tab-1XiWn9xP.06cb8e1b794d.css +0 -1
- codex/static_root/assets/task-tab-1XiWn9xP.06cb8e1b794d.css.gz +0 -0
- codex/static_root/assets/task-tab-1XiWn9xP.css +0 -1
- codex/static_root/assets/task-tab-1XiWn9xP.css.gz +0 -0
- codex/static_root/assets/task-tab-Bn04U_1c.3b343f42f0a9.js +0 -1
- codex/static_root/assets/task-tab-Bn04U_1c.3b343f42f0a9.js.br +0 -0
- codex/static_root/assets/task-tab-Bn04U_1c.3b343f42f0a9.js.gz +0 -0
- codex/static_root/assets/task-tab-Bn04U_1c.js +0 -1
- codex/static_root/assets/task-tab-Bn04U_1c.js.br +0 -0
- codex/static_root/assets/task-tab-Bn04U_1c.js.gz +0 -0
- codex/static_root/assets/unauthorized-CFFrmehB.25307184f821.js +0 -1
- codex/static_root/assets/unauthorized-CFFrmehB.25307184f821.js.br +0 -0
- codex/static_root/assets/unauthorized-CFFrmehB.25307184f821.js.gz +0 -0
- codex/static_root/assets/unauthorized-CFFrmehB.js +0 -1
- codex/static_root/assets/unauthorized-CFFrmehB.js.br +0 -0
- codex/static_root/assets/unauthorized-CFFrmehB.js.gz +0 -0
- codex/static_root/assets/unauthorized-muDsv-rC.2166ec8b3a32.css.br +0 -0
- codex/static_root/assets/unauthorized-muDsv-rC.2166ec8b3a32.css.gz +0 -0
- codex/static_root/assets/unauthorized-muDsv-rC.css.br +0 -0
- codex/static_root/assets/unauthorized-muDsv-rC.css.gz +0 -0
- codex/static_root/assets/user-tab-Bc0BOX75.96057d32f1e9.js +0 -1
- codex/static_root/assets/user-tab-Bc0BOX75.96057d32f1e9.js.br +0 -0
- codex/static_root/assets/user-tab-Bc0BOX75.96057d32f1e9.js.gz +0 -0
- codex/static_root/assets/user-tab-Bc0BOX75.js +0 -1
- codex/static_root/assets/user-tab-Bc0BOX75.js.br +0 -0
- codex/static_root/assets/user-tab-Bc0BOX75.js.gz +0 -0
- codex/static_root/js/choices-admin.1a20a5648f20.json +0 -1
- codex/static_root/js/choices-admin.1a20a5648f20.json.br +0 -0
- codex/static_root/js/choices-admin.1a20a5648f20.json.gz +0 -0
- codex/static_root/js/choices-admin.json +0 -1
- codex/static_root/js/choices-admin.json.br +0 -0
- codex/static_root/js/choices-admin.json.gz +0 -0
- codex/static_root/js/choices.2f6b0359e1ef.json +0 -1
- codex/static_root/js/choices.2f6b0359e1ef.json.br +0 -0
- codex/static_root/js/choices.2f6b0359e1ef.json.gz +0 -0
- codex/static_root/js/choices.json +0 -1
- codex/static_root/js/choices.json.br +0 -0
- codex/static_root/js/choices.json.gz +0 -0
- codex/static_root/manifest.5127f11299cc.json +0 -611
- codex/static_root/manifest.5127f11299cc.json.br +0 -0
- codex/static_root/manifest.5127f11299cc.json.gz +0 -0
- codex/templates/search/indexes/codex/comic_text.txt +0 -47
- codex/views/browser/annotations.py +0 -296
- codex/views/browser/base.py +0 -140
- codex/views/browser/filters/annotations.py +0 -103
- codex/views/browser/filters/search.py +0 -196
- codex/views/browser/metadata.py +0 -332
- {codex-1.6.18.dist-info → codex-1.7.0.dist-info}/LICENSE +0 -0
- {codex-1.6.18.dist-info → codex-1.7.0.dist-info}/WHEEL +0 -0
- {codex-1.6.18.dist-info → codex-1.7.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,438 +0,0 @@
|
|
|
1
|
-
import logging
|
|
2
|
-
import multiprocessing
|
|
3
|
-
import os
|
|
4
|
-
import time
|
|
5
|
-
from datetime import timedelta
|
|
6
|
-
|
|
7
|
-
from django.core.management.base import BaseCommand, CommandError
|
|
8
|
-
from django.db import close_old_connections, reset_queries
|
|
9
|
-
from django.utils.encoding import force_str, smart_bytes
|
|
10
|
-
from django.utils.timezone import now
|
|
11
|
-
|
|
12
|
-
from ....haystack import connections as haystack_connections
|
|
13
|
-
from ....haystack.exceptions import NotHandled
|
|
14
|
-
from ....haystack.query import SearchQuerySet
|
|
15
|
-
from ....haystack.utils.app_loading import haystack_get_models, haystack_load_apps
|
|
16
|
-
|
|
17
|
-
DEFAULT_BATCH_SIZE = None
|
|
18
|
-
DEFAULT_AGE = None
|
|
19
|
-
DEFAULT_MAX_RETRIES = 5
|
|
20
|
-
|
|
21
|
-
LOG = multiprocessing.log_to_stderr(level=logging.WARNING)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
def update_worker(args):
|
|
25
|
-
if len(args) != 10:
|
|
26
|
-
LOG.error("update_worker received incorrect arguments: %r", args)
|
|
27
|
-
raise ValueError("update_worker received incorrect arguments")
|
|
28
|
-
|
|
29
|
-
(
|
|
30
|
-
model,
|
|
31
|
-
start,
|
|
32
|
-
end,
|
|
33
|
-
total,
|
|
34
|
-
using,
|
|
35
|
-
start_date,
|
|
36
|
-
end_date,
|
|
37
|
-
verbosity,
|
|
38
|
-
commit,
|
|
39
|
-
max_retries,
|
|
40
|
-
) = args
|
|
41
|
-
|
|
42
|
-
# FIXME: confirm that this is still relevant with modern versions of Django:
|
|
43
|
-
# We need to reset the connections, otherwise the different processes
|
|
44
|
-
# will try to share the connection, which causes things to blow up.
|
|
45
|
-
from django.db import connections
|
|
46
|
-
|
|
47
|
-
for alias, info in connections.databases.items():
|
|
48
|
-
# We need to also tread lightly with SQLite, because blindly wiping
|
|
49
|
-
# out connections (via ``... = {}``) destroys in-memory DBs.
|
|
50
|
-
if "sqlite3" not in info["ENGINE"]:
|
|
51
|
-
try:
|
|
52
|
-
close_old_connections()
|
|
53
|
-
if isinstance(connections._connections, dict):
|
|
54
|
-
del connections._connections[alias]
|
|
55
|
-
else:
|
|
56
|
-
delattr(connections._connections, alias)
|
|
57
|
-
except KeyError:
|
|
58
|
-
pass
|
|
59
|
-
|
|
60
|
-
# Request that the connection clear out any transient sessions, file handles, etc.
|
|
61
|
-
haystack_connections[using].reset_sessions()
|
|
62
|
-
|
|
63
|
-
unified_index = haystack_connections[using].get_unified_index()
|
|
64
|
-
index = unified_index.get_index(model)
|
|
65
|
-
backend = haystack_connections[using].get_backend()
|
|
66
|
-
|
|
67
|
-
qs = index.build_queryset(using=using, start_date=start_date, end_date=end_date)
|
|
68
|
-
do_update(backend, index, qs, start, end, total, verbosity, commit, max_retries)
|
|
69
|
-
return args
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
def do_update(
|
|
73
|
-
backend,
|
|
74
|
-
index,
|
|
75
|
-
qs,
|
|
76
|
-
start,
|
|
77
|
-
end,
|
|
78
|
-
total,
|
|
79
|
-
verbosity=1,
|
|
80
|
-
commit=True,
|
|
81
|
-
max_retries=DEFAULT_MAX_RETRIES,
|
|
82
|
-
last_max_pk=None,
|
|
83
|
-
):
|
|
84
|
-
|
|
85
|
-
# Get a clone of the QuerySet so that the cache doesn't bloat up
|
|
86
|
-
# in memory. Useful when reindexing large amounts of data.
|
|
87
|
-
# the query must be ordered by PK in order to get the max PK in each batch
|
|
88
|
-
small_cache_qs = qs.all().order_by("pk")
|
|
89
|
-
|
|
90
|
-
# If we got the max seen PK from last batch, use it to restrict the qs
|
|
91
|
-
# to values above; this optimises the query for Postgres as not to
|
|
92
|
-
# devolve into multi-second run time at large offsets.
|
|
93
|
-
if last_max_pk is not None:
|
|
94
|
-
current_qs = small_cache_qs.filter(pk__gt=last_max_pk)[: end - start]
|
|
95
|
-
else:
|
|
96
|
-
current_qs = small_cache_qs[start:end]
|
|
97
|
-
|
|
98
|
-
# Remember maximum PK seen so far
|
|
99
|
-
max_pk = None
|
|
100
|
-
current_qs = list(current_qs)
|
|
101
|
-
if current_qs:
|
|
102
|
-
max_pk = current_qs[-1].pk
|
|
103
|
-
|
|
104
|
-
is_parent_process = hasattr(os, "getppid") and os.getpid() == os.getppid()
|
|
105
|
-
|
|
106
|
-
if verbosity >= 2:
|
|
107
|
-
if is_parent_process:
|
|
108
|
-
print(" indexed %s - %d of %d." % (start + 1, end, total))
|
|
109
|
-
else:
|
|
110
|
-
print(
|
|
111
|
-
" indexed %s - %d of %d (worker PID: %s)."
|
|
112
|
-
% (start + 1, end, total, os.getpid())
|
|
113
|
-
)
|
|
114
|
-
|
|
115
|
-
retries = 0
|
|
116
|
-
while retries < max_retries:
|
|
117
|
-
try:
|
|
118
|
-
# FIXME: Get the right backend.
|
|
119
|
-
backend.update(index, current_qs, commit=commit)
|
|
120
|
-
if verbosity >= 2 and retries:
|
|
121
|
-
print(
|
|
122
|
-
"Completed indexing {} - {}, tried {}/{} times".format(
|
|
123
|
-
start + 1, end, retries + 1, max_retries
|
|
124
|
-
)
|
|
125
|
-
)
|
|
126
|
-
break
|
|
127
|
-
except Exception as exc:
|
|
128
|
-
# Catch all exceptions which do not normally trigger a system exit, excluding SystemExit and
|
|
129
|
-
# KeyboardInterrupt. This avoids needing to import the backend-specific exception subclasses
|
|
130
|
-
# from pysolr, elasticsearch, whoosh, requests, etc.
|
|
131
|
-
retries += 1
|
|
132
|
-
|
|
133
|
-
error_context = {
|
|
134
|
-
"start": start + 1,
|
|
135
|
-
"end": end,
|
|
136
|
-
"retries": retries,
|
|
137
|
-
"max_retries": max_retries,
|
|
138
|
-
"pid": os.getpid(),
|
|
139
|
-
"exc": exc,
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
error_msg = "Failed indexing %(start)s - %(end)s (retry %(retries)s/%(max_retries)s): %(exc)s"
|
|
143
|
-
if not is_parent_process:
|
|
144
|
-
error_msg += " (pid %(pid)s): %(exc)s"
|
|
145
|
-
|
|
146
|
-
if retries >= max_retries:
|
|
147
|
-
LOG.error(error_msg, error_context, exc_info=True)
|
|
148
|
-
raise
|
|
149
|
-
elif verbosity >= 2:
|
|
150
|
-
LOG.warning(error_msg, error_context, exc_info=True)
|
|
151
|
-
|
|
152
|
-
# If going to try again, sleep a bit before
|
|
153
|
-
time.sleep(2**retries)
|
|
154
|
-
|
|
155
|
-
# Clear out the DB connections queries because it bloats up RAM.
|
|
156
|
-
reset_queries()
|
|
157
|
-
return max_pk
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
class Command(BaseCommand):
|
|
161
|
-
help = "Freshens the index for the given app(s)." # noqa A003
|
|
162
|
-
|
|
163
|
-
def add_arguments(self, parser):
|
|
164
|
-
parser.add_argument(
|
|
165
|
-
"app_label",
|
|
166
|
-
nargs="*",
|
|
167
|
-
help="App label of an application to update the search index.",
|
|
168
|
-
)
|
|
169
|
-
parser.add_argument(
|
|
170
|
-
"-m",
|
|
171
|
-
"--minutes",
|
|
172
|
-
type=int,
|
|
173
|
-
help="Number of minutes back to consider objects new.",
|
|
174
|
-
)
|
|
175
|
-
parser.add_argument(
|
|
176
|
-
"-a",
|
|
177
|
-
"--age",
|
|
178
|
-
type=int,
|
|
179
|
-
default=DEFAULT_AGE,
|
|
180
|
-
help="Number of hours back to consider objects new.",
|
|
181
|
-
)
|
|
182
|
-
parser.add_argument(
|
|
183
|
-
"-s",
|
|
184
|
-
"--start",
|
|
185
|
-
dest="start_date",
|
|
186
|
-
help="The start date for indexing. Can be any dateutil-parsable string;"
|
|
187
|
-
" YYYY-MM-DDTHH:MM:SS is recommended to avoid confusion",
|
|
188
|
-
)
|
|
189
|
-
parser.add_argument(
|
|
190
|
-
"-e",
|
|
191
|
-
"--end",
|
|
192
|
-
dest="end_date",
|
|
193
|
-
help="The end date for indexing. Can be any dateutil-parsable string;"
|
|
194
|
-
" YYYY-MM-DDTHH:MM:SS is recommended to avoid confusion",
|
|
195
|
-
)
|
|
196
|
-
parser.add_argument(
|
|
197
|
-
"-b",
|
|
198
|
-
"--batch-size",
|
|
199
|
-
dest="batchsize",
|
|
200
|
-
type=int,
|
|
201
|
-
help="Number of items to index at once.",
|
|
202
|
-
)
|
|
203
|
-
parser.add_argument(
|
|
204
|
-
"-r",
|
|
205
|
-
"--remove",
|
|
206
|
-
action="store_true",
|
|
207
|
-
default=False,
|
|
208
|
-
help="Remove objects from the index that are no longer present in the database.",
|
|
209
|
-
)
|
|
210
|
-
parser.add_argument(
|
|
211
|
-
"-u",
|
|
212
|
-
"--using",
|
|
213
|
-
action="append",
|
|
214
|
-
default=[],
|
|
215
|
-
help="Update only the named backend (can be used multiple times). "
|
|
216
|
-
"By default all backends will be updated.",
|
|
217
|
-
)
|
|
218
|
-
parser.add_argument(
|
|
219
|
-
"-k",
|
|
220
|
-
"--workers",
|
|
221
|
-
type=int,
|
|
222
|
-
default=0,
|
|
223
|
-
help="Allows for the use multiple workers to parallelize indexing.",
|
|
224
|
-
)
|
|
225
|
-
parser.add_argument(
|
|
226
|
-
"--nocommit",
|
|
227
|
-
action="store_false",
|
|
228
|
-
dest="commit",
|
|
229
|
-
default=True,
|
|
230
|
-
help="Will pass commit=False to the backend.",
|
|
231
|
-
)
|
|
232
|
-
parser.add_argument(
|
|
233
|
-
"-t",
|
|
234
|
-
"--max-retries",
|
|
235
|
-
action="store",
|
|
236
|
-
dest="max_retries",
|
|
237
|
-
type=int,
|
|
238
|
-
default=DEFAULT_MAX_RETRIES,
|
|
239
|
-
help="Maximum number of attempts to write to the backend when an error occurs.",
|
|
240
|
-
)
|
|
241
|
-
|
|
242
|
-
def handle(self, **options):
|
|
243
|
-
self.verbosity = int(options.get("verbosity", 1))
|
|
244
|
-
self.batchsize = options.get("batchsize", DEFAULT_BATCH_SIZE)
|
|
245
|
-
self.start_date = None
|
|
246
|
-
self.end_date = None
|
|
247
|
-
self.remove = options.get("remove", False)
|
|
248
|
-
self.workers = options.get("workers", 0)
|
|
249
|
-
self.commit = options.get("commit", True)
|
|
250
|
-
self.max_retries = options.get("max_retries", DEFAULT_MAX_RETRIES)
|
|
251
|
-
|
|
252
|
-
self.backends = options.get("using")
|
|
253
|
-
if not self.backends:
|
|
254
|
-
self.backends = haystack_connections.connections_info.keys()
|
|
255
|
-
|
|
256
|
-
age = options.get("age", DEFAULT_AGE)
|
|
257
|
-
minutes = options.get("minutes", DEFAULT_AGE)
|
|
258
|
-
start_date = options.get("start_date")
|
|
259
|
-
end_date = options.get("end_date")
|
|
260
|
-
|
|
261
|
-
if self.verbosity > 2:
|
|
262
|
-
LOG.setLevel(logging.DEBUG)
|
|
263
|
-
elif self.verbosity > 1:
|
|
264
|
-
LOG.setLevel(logging.INFO)
|
|
265
|
-
|
|
266
|
-
if (minutes and age) or (minutes and start_date) or (age and start_date):
|
|
267
|
-
raise CommandError(
|
|
268
|
-
"Minutes / age / start date options are mutually exclusive"
|
|
269
|
-
)
|
|
270
|
-
|
|
271
|
-
if minutes is not None:
|
|
272
|
-
self.start_date = now() - timedelta(minutes=minutes)
|
|
273
|
-
|
|
274
|
-
if age is not None:
|
|
275
|
-
self.start_date = now() - timedelta(hours=age)
|
|
276
|
-
|
|
277
|
-
if start_date is not None:
|
|
278
|
-
from dateutil.parser import parse as dateutil_parse
|
|
279
|
-
|
|
280
|
-
try:
|
|
281
|
-
self.start_date = dateutil_parse(start_date)
|
|
282
|
-
except ValueError:
|
|
283
|
-
pass
|
|
284
|
-
|
|
285
|
-
if end_date is not None:
|
|
286
|
-
from dateutil.parser import parse as dateutil_parse
|
|
287
|
-
|
|
288
|
-
try:
|
|
289
|
-
self.end_date = dateutil_parse(end_date)
|
|
290
|
-
except ValueError:
|
|
291
|
-
pass
|
|
292
|
-
|
|
293
|
-
labels = options.get("app_label") or haystack_load_apps()
|
|
294
|
-
for label in labels:
|
|
295
|
-
for using in self.backends:
|
|
296
|
-
try:
|
|
297
|
-
self.update_backend(label, using)
|
|
298
|
-
except Exception:
|
|
299
|
-
LOG.exception("Error updating %s using %s ", label, using)
|
|
300
|
-
raise
|
|
301
|
-
|
|
302
|
-
def update_backend(self, label, using):
|
|
303
|
-
backend = haystack_connections[using].get_backend()
|
|
304
|
-
unified_index = haystack_connections[using].get_unified_index()
|
|
305
|
-
|
|
306
|
-
for model in haystack_get_models(label):
|
|
307
|
-
try:
|
|
308
|
-
index = unified_index.get_index(model)
|
|
309
|
-
except NotHandled:
|
|
310
|
-
if self.verbosity >= 2:
|
|
311
|
-
self.stdout.write("Skipping '%s' - no index." % model)
|
|
312
|
-
continue
|
|
313
|
-
|
|
314
|
-
if self.workers > 0:
|
|
315
|
-
# workers resetting connections leads to references to models / connections getting
|
|
316
|
-
# stale and having their connection disconnected from under them. Resetting before
|
|
317
|
-
# the loop continues and it accesses the ORM makes it better.
|
|
318
|
-
close_old_connections()
|
|
319
|
-
|
|
320
|
-
qs = index.build_queryset(
|
|
321
|
-
using=using, start_date=self.start_date, end_date=self.end_date
|
|
322
|
-
)
|
|
323
|
-
|
|
324
|
-
total = qs.count()
|
|
325
|
-
|
|
326
|
-
if self.verbosity >= 1:
|
|
327
|
-
self.stdout.write(
|
|
328
|
-
"Indexing %d %s"
|
|
329
|
-
% (total, force_str(model._meta.verbose_name_plural))
|
|
330
|
-
)
|
|
331
|
-
|
|
332
|
-
batch_size = self.batchsize or backend.batch_size
|
|
333
|
-
|
|
334
|
-
if self.workers > 0:
|
|
335
|
-
ghetto_queue = []
|
|
336
|
-
|
|
337
|
-
max_pk = None
|
|
338
|
-
for start in range(0, total, batch_size):
|
|
339
|
-
end = min(start + batch_size, total)
|
|
340
|
-
|
|
341
|
-
if self.workers == 0:
|
|
342
|
-
max_pk = do_update(
|
|
343
|
-
backend,
|
|
344
|
-
index,
|
|
345
|
-
qs,
|
|
346
|
-
start,
|
|
347
|
-
end,
|
|
348
|
-
total,
|
|
349
|
-
verbosity=self.verbosity,
|
|
350
|
-
commit=self.commit,
|
|
351
|
-
max_retries=self.max_retries,
|
|
352
|
-
last_max_pk=max_pk,
|
|
353
|
-
)
|
|
354
|
-
else:
|
|
355
|
-
ghetto_queue.append(
|
|
356
|
-
(
|
|
357
|
-
model,
|
|
358
|
-
start,
|
|
359
|
-
end,
|
|
360
|
-
total,
|
|
361
|
-
using,
|
|
362
|
-
self.start_date,
|
|
363
|
-
self.end_date,
|
|
364
|
-
self.verbosity,
|
|
365
|
-
self.commit,
|
|
366
|
-
self.max_retries,
|
|
367
|
-
)
|
|
368
|
-
)
|
|
369
|
-
|
|
370
|
-
if self.workers > 0:
|
|
371
|
-
pool = multiprocessing.Pool(self.workers)
|
|
372
|
-
|
|
373
|
-
successful_tasks = pool.map(update_worker, ghetto_queue)
|
|
374
|
-
|
|
375
|
-
if len(ghetto_queue) != len(successful_tasks):
|
|
376
|
-
self.stderr.write(
|
|
377
|
-
"Queued %d tasks but only %d completed"
|
|
378
|
-
% (len(ghetto_queue), len(successful_tasks))
|
|
379
|
-
)
|
|
380
|
-
for i in ghetto_queue:
|
|
381
|
-
if i not in successful_tasks:
|
|
382
|
-
self.stderr.write("Incomplete task: %s" % repr(i))
|
|
383
|
-
|
|
384
|
-
pool.close()
|
|
385
|
-
pool.join()
|
|
386
|
-
|
|
387
|
-
if self.remove:
|
|
388
|
-
if self.start_date or self.end_date or total <= 0:
|
|
389
|
-
# They're using a reduced set, which may not incorporate
|
|
390
|
-
# all pks. Rebuild the list with everything.
|
|
391
|
-
qs = index.index_queryset(using=using).values_list("pk", flat=True)
|
|
392
|
-
database_pks = {smart_bytes(pk) for pk in qs}
|
|
393
|
-
else:
|
|
394
|
-
database_pks = {
|
|
395
|
-
smart_bytes(pk) for pk in qs.values_list("pk", flat=True)
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
# Since records may still be in the search index but not the local database
|
|
399
|
-
# we'll use that to create batches for processing.
|
|
400
|
-
# See https://github.com/django-haystack/django-haystack/issues/1186
|
|
401
|
-
index_total = (
|
|
402
|
-
SearchQuerySet(using=backend.connection_alias).models(model).count()
|
|
403
|
-
)
|
|
404
|
-
|
|
405
|
-
# Retrieve PKs from the index. Note that this cannot be a numeric range query because although
|
|
406
|
-
# pks are normally numeric they can be non-numeric UUIDs or other custom values. To reduce
|
|
407
|
-
# load on the search engine, we only retrieve the pk field, which will be checked against the
|
|
408
|
-
# full list obtained from the database, and the id field, which will be used to delete the
|
|
409
|
-
# record should it be found to be stale.
|
|
410
|
-
index_pks = SearchQuerySet(using=backend.connection_alias).models(model)
|
|
411
|
-
index_pks = index_pks.values_list("pk", "id")
|
|
412
|
-
|
|
413
|
-
# We'll collect all of the record IDs which are no longer present in the database and delete
|
|
414
|
-
# them after walking the entire index. This uses more memory than the incremental approach but
|
|
415
|
-
# avoids needing the pagination logic below to account for both commit modes:
|
|
416
|
-
stale_records = set()
|
|
417
|
-
|
|
418
|
-
for start in range(0, index_total, batch_size):
|
|
419
|
-
upper_bound = start + batch_size
|
|
420
|
-
|
|
421
|
-
# If the database pk is no longer present, queue the index key for removal:
|
|
422
|
-
for pk, rec_id in index_pks[start:upper_bound]:
|
|
423
|
-
if smart_bytes(pk) not in database_pks:
|
|
424
|
-
stale_records.add(rec_id)
|
|
425
|
-
|
|
426
|
-
if stale_records:
|
|
427
|
-
if self.verbosity >= 1:
|
|
428
|
-
self.stdout.write(
|
|
429
|
-
" removing %d stale records." % len(stale_records)
|
|
430
|
-
)
|
|
431
|
-
|
|
432
|
-
for rec_id in stale_records:
|
|
433
|
-
# Since the PK was not in the database list, we'll delete the record from the search
|
|
434
|
-
# index:
|
|
435
|
-
if self.verbosity >= 2:
|
|
436
|
-
self.stdout.write(" removing %s." % rec_id)
|
|
437
|
-
|
|
438
|
-
backend.remove(rec_id, commit=self.commit)
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
from ..haystack.query import EmptySearchQuerySet, SearchQuerySet
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
class SearchIndexManager:
|
|
5
|
-
def __init__(self, using=None):
|
|
6
|
-
super().__init__()
|
|
7
|
-
self.using = using
|
|
8
|
-
|
|
9
|
-
def get_search_queryset(self):
|
|
10
|
-
"""Returns a new SearchQuerySet object. Subclasses can override this method
|
|
11
|
-
to easily customize the behavior of the Manager.
|
|
12
|
-
"""
|
|
13
|
-
return SearchQuerySet(using=self.using)
|
|
14
|
-
|
|
15
|
-
def get_empty_query_set(self):
|
|
16
|
-
return EmptySearchQuerySet(using=self.using)
|
|
17
|
-
|
|
18
|
-
def all(self): # noqa A003
|
|
19
|
-
return self.get_search_queryset()
|
|
20
|
-
|
|
21
|
-
def none(self):
|
|
22
|
-
return self.get_empty_query_set()
|
|
23
|
-
|
|
24
|
-
def filter(self, *args, **kwargs): # noqa A003
|
|
25
|
-
return self.get_search_queryset().filter(*args, **kwargs)
|
|
26
|
-
|
|
27
|
-
def exclude(self, *args, **kwargs):
|
|
28
|
-
return self.get_search_queryset().exclude(*args, **kwargs)
|
|
29
|
-
|
|
30
|
-
def filter_and(self, *args, **kwargs):
|
|
31
|
-
return self.get_search_queryset().filter_and(*args, **kwargs)
|
|
32
|
-
|
|
33
|
-
def filter_or(self, *args, **kwargs):
|
|
34
|
-
return self.get_search_queryset().filter_or(*args, **kwargs)
|
|
35
|
-
|
|
36
|
-
def order_by(self, *args):
|
|
37
|
-
return self.get_search_queryset().order_by(*args)
|
|
38
|
-
|
|
39
|
-
def highlight(self):
|
|
40
|
-
return self.get_search_queryset().highlight()
|
|
41
|
-
|
|
42
|
-
def boost(self, term, boost):
|
|
43
|
-
return self.get_search_queryset().boost(term, boost)
|
|
44
|
-
|
|
45
|
-
def facet(self, field):
|
|
46
|
-
return self.get_search_queryset().facet(field)
|
|
47
|
-
|
|
48
|
-
def within(self, field, point_1, point_2):
|
|
49
|
-
return self.get_search_queryset().within(field, point_1, point_2)
|
|
50
|
-
|
|
51
|
-
def dwithin(self, field, point, distance):
|
|
52
|
-
return self.get_search_queryset().dwithin(field, point, distance)
|
|
53
|
-
|
|
54
|
-
def distance(self, field, point):
|
|
55
|
-
return self.get_search_queryset().distance(field, point)
|
|
56
|
-
|
|
57
|
-
def date_facet(self, field, start_date, end_date, gap_by, gap_amount=1):
|
|
58
|
-
return self.get_search_queryset().date_facet(
|
|
59
|
-
field, start_date, end_date, gap_by, gap_amount=1
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
def query_facet(self, field, query):
|
|
63
|
-
return self.get_search_queryset().query_facet(field, query)
|
|
64
|
-
|
|
65
|
-
def narrow(self, query):
|
|
66
|
-
return self.get_search_queryset().narrow(query)
|
|
67
|
-
|
|
68
|
-
def raw_search(self, query_string, **kwargs):
|
|
69
|
-
return self.get_search_queryset().raw_search(query_string, **kwargs)
|
|
70
|
-
|
|
71
|
-
def load_all(self):
|
|
72
|
-
return self.get_search_queryset().load_all()
|
|
73
|
-
|
|
74
|
-
def auto_query(self, query_string, fieldname="content"):
|
|
75
|
-
return self.get_search_queryset().auto_query(query_string, fieldname=fieldname)
|
|
76
|
-
|
|
77
|
-
def autocomplete(self, **kwargs):
|
|
78
|
-
return self.get_search_queryset().autocomplete(**kwargs)
|
|
79
|
-
|
|
80
|
-
def using(self, connection_name):
|
|
81
|
-
return self.get_search_queryset().using(connection_name)
|
|
82
|
-
|
|
83
|
-
def count(self):
|
|
84
|
-
return self.get_search_queryset().count()
|
|
85
|
-
|
|
86
|
-
def best_match(self):
|
|
87
|
-
return self.get_search_queryset().best_match()
|
|
88
|
-
|
|
89
|
-
def latest(self, date_field):
|
|
90
|
-
return self.get_search_queryset().latest(date_field)
|
|
91
|
-
|
|
92
|
-
def more_like_this(self, model_instance):
|
|
93
|
-
return self.get_search_queryset().more_like_this(model_instance)
|
|
94
|
-
|
|
95
|
-
def facet_counts(self):
|
|
96
|
-
return self.get_search_queryset().facet_counts()
|
|
97
|
-
|
|
98
|
-
def spelling_suggestion(self, preferred_query=None):
|
|
99
|
-
return self.get_search_queryset().spelling_suggestion(preferred_query=None)
|
|
100
|
-
|
|
101
|
-
def values(self, *fields):
|
|
102
|
-
return self.get_search_queryset().values(*fields)
|
|
103
|
-
|
|
104
|
-
def values_list(self, *fields, **kwargs):
|
|
105
|
-
return self.get_search_queryset().values_list(*fields, **kwargs)
|