GEOIP_PATH for geoip calculations in views.py
authorScott Baker <smbaker@gmail.com>
Tue, 22 Apr 2014 20:50:26 +0000 (13:50 -0700)
committerScott Baker <smbaker@gmail.com>
Tue, 22 Apr 2014 20:50:26 +0000 (13:50 -0700)
planetstack/planetstack/settings.py

index a19c591..d706245 100644 (file)
@@ -3,6 +3,8 @@ from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as TCP
 # Django settings for planetstack project.
 from config import Config
 config = Config()
+
+GEOIP_PATH = "/usr/share/GeoIP"
  
 DEBUG = True
 TEMPLATE_DEBUG = DEBUG