def schema_editor(self): # collect_sql=True -> do not actually execute. return connection.schema_editor(collect_sql=True)