summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-02-27 16:00:17 +0100
committerDan McGee <dan@archlinux.org>2013-02-27 16:00:17 +0100
commitd98ab844a03b0579051cece998e7c18a048c21ab (patch)
tree5be148cb29bc5831cb9da210bae5596f25130b6e
parentd5a644696466e443a590317ac2f892ac279665ab (diff)
downloadarchweb-d98ab844a03b0579051cece998e7c18a048c21ab.tar.gz
archweb-d98ab844a03b0579051cece998e7c18a048c21ab.tar.xz
Disable more @cache_function usage
Seems the Django caching layer has changed quite a bit and is doing all sorts of funky s**t at this point. Yay for errors! Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--main/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/models.py b/main/models.py
index 9410e13..a561f4f 100644
--- a/main/models.py
+++ b/main/models.py
@@ -187,7 +187,7 @@ class Package(models.Model):
self._applicable_arches = list(arches)
return self._applicable_arches
- @cache_function(119)
+ #@cache_function(119)
def get_requiredby(self):
"""
Returns a list of package objects. An attempt will be made to keep this
@@ -265,7 +265,7 @@ class Package(models.Model):
trimmed.append(dep)
return trimmed
- @cache_function(121)
+ #@cache_function(121)
def get_depends(self):
"""
Returns a list of dicts. Each dict contains ('dep', 'pkg', and