summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/apps/registry.py2
1 files changed, 1 insertions, 1 deletions
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 ###