diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-29 20:57:03 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-29 20:57:03 +0100 |
| commit | 8cfcd801c4b2e6402c1c814f64db99a5b7501170 (patch) | |
| tree | c352d7dec8162734fc4ab24e5d9b762992ceb81f | |
| parent | 368d90e2616d3eb9746675e157688457e7ffcf96 (diff) | |
Fixed stupid error in 21f22f95.
| -rw-r--r-- | django/apps/registry.py | 2 |
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 ### |
