parameters: (self, model, **hints)
return_statement: return None
docstring: Attempts to write auth models go to auth_db.
docstring_summary: Attempts to write auth models go to auth_db.
docstring_tokens: Attempts to write auth models go to auth_db .
function: 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
function_tokens: def db_for_write ( self , model , * * hints ) : if model . _meta . app_label == 'backup' : return 'rootdb' return None