From d98ab844a03b0579051cece998e7c18a048c21ab Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 27 Feb 2013 09:00:17 -0600 Subject: 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 --- main/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main') 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 -- cgit v1.2.3-24-g4f1b