Skip to content

Commit

Permalink
default mem cache to standard
Browse files Browse the repository at this point in the history
  • Loading branch information
un33k committed Nov 22, 2012
1 parent 4572ed6 commit 1ea3930
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ To run the tests against the current environment:
Changelog
=========

0.5.0
-----
* default to GEOIP_MEMORY_CACHE = GEOIP_STANDARD if not provided

0.4.0
-----
* allow auto tag inclusion if flag is set
Expand Down
2 changes: 1 addition & 1 deletion geoaware/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

__version__ = '0.4.0'
__version__ = '0.5.0'

import defaults

Expand Down
2 changes: 1 addition & 1 deletion geoaware/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
except ImportError:
from django.contrib.gis.utils import GeoIP

GEOIP_CACHE_METHOD = getattr(settings, 'GEOIP_CACHE_METHOD', GeoIP.GEOIP_INDEX_CACHE)
GEOIP_CACHE_METHOD = getattr(settings, 'GEOIP_CACHE_METHOD', GeoIP.GEOIP_STANDARD)
GEOIP_INCLUDE_TEMPLATE_TAGS = getattr(settings, 'GEOIP_INCLUDE_TEMPLATE_TAGS', False)

if getattr(settings, 'GEOIP_DEBUG_DOMAIN_OR_IP', ''):
Expand Down

0 comments on commit 1ea3930

Please sign in to comment.