diff options
Diffstat (limited to 'django/apps')
| -rw-r--r-- | django/apps/cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/apps/cache.py b/django/apps/cache.py index e7adffecdb..6d8988ad70 100644 --- a/django/apps/cache.py +++ b/django/apps/cache.py @@ -310,7 +310,7 @@ class AppCache(object): app_config = self.app_configs.get(app_name.rpartition(".")[2]) return app_config is not None and app_config.name == app_name: - def has_model(self, app_label, model_name): + def get_registered_model(self, app_label, model_name): """ Returns the model class if one is registered and None otherwise. |
