Module ImportFrom alias ImportFrom alias identifier ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return BoolOpOr CompareIn AttributeLoad NameLoad attr NameLoad CompareIn NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad kwarg body ImportFrom alias ImportFrom alias If CompareEq AttributeLoad NameLoad attr Call NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Return NameLoad orelse If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list decorator_list
N/A django.conf settings django.apps apps django_apps TenantSyncRouter N/A object N/A N/A 
    A router to control which applications will be synced,
    depending if we are syncing the shared apps or the tenant apps.
     app_in_list N/A N/A self app_label apps_list N/A N/A N/A 
        Is 'app_label' present in 'apps_list'?

        apps_list is either settings.SHARED_APPS or settings.TENANT_APPS, a
        list of app names.

        We check the presense of the app's name or the full path to the apps's
        AppConfig class.
        https://docs.djangoproject.com/en/1.8/ref/applications/#configuring-applications
         N/A appconfig N/A N/A django_apps get_app_config app_label N/A appconfig_full_name N/A N/A {}.{} format N/A appconfig __module__ N/A N/A appconfig __class__ __name__ N/A N/A N/A N/A appconfig name apps_list N/A appconfig_full_name apps_list N/A allow_migrate N/A N/A self db app_label model_name N/A None hints N/A django.db connection django_tenants.utils get_public_schema_name N/A N/A N/A connection schema_name N/A get_public_schema_name N/A N/A N/A N/A N/A self app_in_list app_label N/A settings SHARED_APPS N/A N/A False N/A N/A N/A N/A N/A self app_in_list app_label N/A settings TENANT_APPS N/A N/A False N/A None N/A N/A