def get_models_for_app(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_app, get_models
        return get_models(get_app(app_label))
Returns:
dataset/ETHPy150Open django-extensions/django-extensions/django_extensions/compat.py/get_models_for_app--crossover with--dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/type/core/stats.py/AggregatedStats.gold_earned