it s possible to load an app with no models py file appconfig apps getappconfignomodels self assertisnoneappconfig modelsmodule it s possible to load an app with no models py file
from django.apps import apps
from django.test import SimpleTestCase


class NoModelTests(SimpleTestCase):
    def test_no_models(self):
        
        app_config = apps.get_app_config("no_models")
        self.assertIsNone(app_config.models_module)