aboutsummaryrefslogtreecommitdiff
path: root/gn3/db
diff options
context:
space:
mode:
authorArun Isaac2022-10-26 14:21:55 +0530
committerArun Isaac2022-10-26 14:21:55 +0530
commit6a9db0c1734a22e792f2204c029810ca1cea7f86 (patch)
treec3c4062d368a1302179f174e8ba59f65686febe8 /gn3/db
parent03852be20b7e554a7b228e08ab369bfba51fbde2 (diff)
downloadgenenetwork3-6a9db0c1734a22e792f2204c029810ca1cea7f86.tar.gz
Add xapian database connection context manager.
* gn3/settings.py (XAPIAN_DB_PATH): New variable. * gn3/db_utils.py: Import xapian and XAPIAN_DB_PATH from gn3.settings. (xapian_database): New function.
Diffstat (limited to 'gn3/db')
0 files changed, 0 insertions, 0 deletions