diff options
author | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2012-05-09 17:56:49 -0600 |
---|---|---|
committer | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2012-05-09 17:56:49 -0600 |
commit | 5747fa192aecc826a118c8be89c512d96076b42c (patch) | |
tree | 72b35dc6ec985f762e0a67168e06bdf71e838747 | |
parent | c5d8de6ed81b519b998faeb0c17d6ed3cdae96b1 (diff) | |
download | askbot-5747fa192aecc826a118c8be89c512d96076b42c.tar.gz askbot-5747fa192aecc826a118c8be89c512d96076b42c.tar.bz2 askbot-5747fa192aecc826a118c8be89c512d96076b42c.zip |
fixed error
-rw-r--r-- | askbot/deps/livesettings/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/askbot/deps/livesettings/models.py b/askbot/deps/livesettings/models.py index 1b49cf88..15392cb8 100644 --- a/askbot/deps/livesettings/models.py +++ b/askbot/deps/livesettings/models.py @@ -130,7 +130,7 @@ class Setting(models.Model, CachedObjectMixin): key = self.cache_key(*args, **kwargs) #TODO: fix this with Django's > 1.3 CACHE dict setting support length = getattr(settings, 'LIVESETTINGS_CACHE_TIMEOUT', settings.CACHE_TIMEOUT) - keyedcache.cache_set(key, value=val, length=length) + cache_set(key, value=val, length=length) class Meta: unique_together = ('site', 'group', 'key') @@ -177,7 +177,7 @@ class LongSetting(models.Model, CachedObjectMixin): key = self.cache_key(*args, **kwargs) #TODO: fix this with Django's > 1.3 CACHE dict setting support length = getattr(settings, 'LIVESETTINGS_CACHE_TIMEOUT', settings.CACHE_TIMEOUT) - keyedcache.cache_set(key, value=val, length=length) + cache_set(key, value=val, length=length) class Meta: unique_together = ('site', 'group', 'key') |