def db_for_write(self, model, **hints):
    if (model._meta.app_label in self.apps):
        return self.using
    return None
def db_for_write(self, model, **hints):
    if (model._meta.app_label in self.apps):
        return self.using
    return None