diff options
author | Dan McGee <dan@archlinux.org> | 2013-02-27 16:00:17 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-02-27 16:00:17 +0100 |
commit | d98ab844a03b0579051cece998e7c18a048c21ab (patch) | |
tree | 5be148cb29bc5831cb9da210bae5596f25130b6e /main | |
parent | d5a644696466e443a590317ac2f892ac279665ab (diff) | |
download | archweb-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>
Diffstat (limited to 'main')
-rw-r--r-- | main/models.py | 4 |
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 |