def get_models_compat(app_label):
    try:
        # django >= 1.7
        from django.apps import apps
        return apps.get_app_config(app_label).get_models()
    except ImportError:
        from django.db.models import get_models
        return get_models(app_label)
Accepts and return [x,3] array.
dataset/ETHPy150Open django-extensions/django-extensions/django_extensions/compat.py/get_models_compat--crossover with--dataset/ETHPy150Open yhat/ggplot/ggplot/utils/color.py/ColorModel.__call__