1
0
mirror of https://github.com/django/django.git synced 2025-10-27 07:36:08 +00:00

Make sqlmigrate ignore the RunPython operation

This commit is contained in:
Andrew Godwin
2013-09-25 14:37:44 +01:00
parent 3b810c5656
commit 8a3e543f26
3 changed files with 25 additions and 5 deletions

View File

@@ -132,3 +132,6 @@ class RunPython(Operation):
def database_backwards(self, app_label, schema_editor, from_state, to_state):
raise NotImplementedError("You cannot reverse this operation")
def describe(self):
return "Raw Python operation"