MCPcopy
hub / github.com/django/django / unset_available_apps

Method unset_available_apps

django/apps/registry.py:334–337  ·  view source on GitHub ↗

Cancel a previous call to set_available_apps().

(self)

Source from the content-addressed store, hash-verified

332 self.clear_cache()
333
334 def unset_available_apps(self):
335 """Cancel a previous call to set_available_apps()."""
336 self.app_configs = self.stored_app_configs.pop()
337 self.clear_cache()
338
339 def set_installed_apps(self, installed):
340 """

Callers 4

tearDownClassMethod · 0.80
_pre_setupMethod · 0.80
_fixture_setupMethod · 0.80
_post_teardownMethod · 0.80

Calls 2

clear_cacheMethod · 0.95
popMethod · 0.45

Tested by 4

tearDownClassMethod · 0.64
_pre_setupMethod · 0.64
_fixture_setupMethod · 0.64
_post_teardownMethod · 0.64