def get_app_n_model(settings_entry_name):
    try:
        app_name, model_name = getattr(settings, settings_entry_name).split('.')
    except ValueError:
        raise ImproperlyConfigured('`SITETREE_%s` must have the following format: `app_name.model_name`.' % settings_entry_name)
    return app_name, model_name
Determines if a file is accessible.
dataset/ETHPy150Open idlesign/django-sitetree/sitetree/utils.py/get_app_n_model--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/python/stubs.py/FakeFile.is_file_accessible