Check whether an application with this name exists in the registry. app_name is the full name of the app e.g. 'django.contrib.admin'.
(self, app_name)
| 240 | self.clear_cache() |
| 241 | |
| 242 | def is_installed(self, app_name): |
| 243 | """ |
| 244 | Check whether an application with this name exists in the registry. |
| 245 | |
| 246 | app_name is the full name of the app e.g. 'django.contrib.admin'. |
| 247 | """ |
| 248 | self.check_apps_ready() |
| 249 | return any(ac.name == app_name for ac in self.app_configs.values()) |
| 250 | |
| 251 | def get_containing_app_config(self, object_name): |
| 252 | """ |