Merge pull request #19825 from edx/aehsan/learner-6238/update_deprecated_pygeoip_to_geoip2

update pygeopip to geoip2
This commit is contained in:
Farhanah Sheets
2019-02-21 13:02:47 -05:00
committed by GitHub
17 changed files with 166 additions and 83 deletions

View File

@@ -345,8 +345,7 @@ sys.path.append(PROJECT_ROOT / 'djangoapps')
sys.path.append(COMMON_ROOT / 'djangoapps')
# For geolocation ip database
GEOIP_PATH = REPO_ROOT / "common/static/data/geoip/GeoIP.dat"
GEOIPV6_PATH = REPO_ROOT / "common/static/data/geoip/GeoIPv6.dat"
GEOIP_PATH = REPO_ROOT / "common/static/data/geoip/GeoLite2-Country.mmdb"
############################# TEMPLATE CONFIGURATION #############################
# Mako templating