(self, model, **hints)
return None
Attempts to write auth models go to auth_db.
Attempts to write auth models go to auth_db.
Attempts to write auth models go to auth_db .
def db_for_write(self, model, **hints):
        """
        Attempts to write auth models go to auth_db.
        """
        if model._meta.app_label == 'backup':
            return 'rootdb'
        return None
def db_for_write ( self , model , * * hints ) : if model . _meta . app_label == 'backup' : return 'rootdb' return None