# Path: django_evolution/compat/apps.py
# def get_app(app_label, emptyOK=False):
# def get_apps():
# def is_app_registered(app):
# def register_app(app_label, app):
# def unregister_app(app_label):
# def register_app_models(app_label, model_infos, reset=False):
# def unregister_app_model(app_label, model_name):
# def clear_app_cache():


from importlib import import_module
from django.conf import settings
from django.utils.module_loading import module_has_submodule
from django_evolution.compat.apps import apps
"""Utilities for working with apps."""

from __future__ import unicode_literals





def get_app_config_for_app(app):
    """Return the app configuration for an app.

    This can only be called if running on Django 1.7 or higher.

    Args:
        app (module):
            The app's models module to return the configuration for.
            The models module is used for legacy reasons within Django
            Evolution.

    Returns:
        django.apps.AppConfig:
        The app configuration, or ``None`` if it couldn't be found.
    """

# Path: django_evolution/compat/apps.py
# def get_app(app_label, emptyOK=False):
# def get_apps():
# def is_app_registered(app):
# def register_app(app_label, app):
# def unregister_app(app_label):
# def register_app_models(app_label, model_infos, reset=False):
# def unregister_app_model(app_label, model_name):
# def clear_app_cache():


# Path: django_evolution/utils/apps.py
from importlib import import_module
from django.conf import settings
from django.utils.module_loading import module_has_submodule
from django_evolution.compat.apps import apps

"""Utilities for working with apps."""

from __future__ import unicode_literals





def get_app_config_for_app(app):
    """Return the app configuration for an app.

    This can only be called if running on Django 1.7 or higher.

    Args:
        app (module):
            The app's models module to return the configuration for.
            The models module is used for legacy reasons within Django
            Evolution.

    Returns:
        django.apps.AppConfig:
        The app configuration, or ``None`` if it couldn't be found.
    """

    assert apps, \