1

wip: geoip

This commit is contained in:
2024-01-12 00:58:20 +02:00
parent 95e5e92c41
commit 1594a78ab1
4 changed files with 16 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
from pathlib import Path
from os import environ
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
@@ -124,3 +125,7 @@ LOGGING = {
"level": "WARNING",
},
}
#GEOIP_PATH = environ["GEOIP_PATH"]
#GEOIP_COUNTRY = "GeoIP.dat"
#GEOIP_CITY = "GeoIPCity.dat"