def _label_for(self, app_mod):
        return app_mod.__name__.split('.')[-2]
Return app_label for given models module.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/db/models/loading.py/AppCache._label_for