                      continue
                  # Force a reload if it's already loaded (tests need this)
                  if was_loaded:
                      reload(module)
              self.migrated_apps.add(app_config.label)
              migration_names = {
                  name for _, name, is_pkg in pkgutil.iter_modules(module.__path__)
                  if not is_pkg and name[0] not in '_~'
              }
              # Load migrations
 
</s> remove                 # Empty directories are namespaces.
                # getattr() needed on PY36 and older (replace w/attribute access).
                if getattr(module, '__file__', None) is None:
                    self.unmigrated_apps.add(app_config.label)
                    continue
 </s> add  </s> remove * ...
 </s> add * Migrations are now loaded also from directories without ``__init__.py``
  files.
                      continue
                  # Force a reload if it's already loaded (tests need this)
                  if was_loaded:
                      reload(module)

              migration_names = {
                  name for _, name, is_pkg in pkgutil.iter_modules(module.__path__)
                  if not is_pkg and name[0] not in '_~'
              }
              # Load migrations
keep keep keep keep replace keep keep keep keep keep
 Fixed #30300 -- Allowed migrations to be loaded from directories without __init__.py file. 
django/db/migrations/loader.py