Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/d/j/django-multitenant-HEAD/tenant/utils.py   django-multitenant(Download)
def get_private_apps():
    from django.db.models import get_models, get_app, get_apps
    from tenant import settings
 
    if settings.MULTITENANT_PRIVATE_APPS is not None:
        include = [app.split('.')[-1] for app in settings.MULTITENANT_PRIVATE_APPS]