do not save user output

This commit is contained in:
virusdefender committed 2017-12-09 22:51:52 +08:00
1 parent 09c8819c4e
commit d15c4aa60c
2 files changed
+3 -3

No files matched your search

@@ -10,7 +10,7 @@ def delete_user_output(apps, schema_editor):
if "data" in item.info and isinstance(item.info["data"], list):
for index in range(len(item.info["data"])):
item.info["data"][index]["output"] = ""
item.save()
item.save()
class Migration(migrations.Migration):