From 8cfcd801c4b2e6402c1c814f64db99a5b7501170 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 29 Dec 2013 20:57:03 +0100 Subject: [PATCH] Fixed stupid error in 21f22f95. --- django/apps/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/apps/registry.py b/django/apps/registry.py index dfb7f09c91..d8265ce4d2 100644 --- a/django/apps/registry.py +++ b/django/apps/registry.py @@ -344,7 +344,7 @@ class Apps(object): This is mostly used in tests. """ - self.clear_cache() + self.get_models.cache_clear() ### DEPRECATED METHODS GO BELOW THIS LINE ###