if installed_apps is None and hasattr(sys.modules[__name__], 'apps'):
raise RuntimeError("You must supply an installed_apps argument.")
print(sys.modules[__name__])
<module 'django.apps.registry' from 'C:\Users\Administrator\Envs\gz_monitor\lib\site-packages\django\apps\registry.py'>