if 'app1' not in settings.DATABASES:
    return None
if db == 'db_app1':
    return model._meta.app_label == 'app1'
elif model._meta.app_label == 'app1':
    return False
return None
Can i use different databases for different apps in django