diff options
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/management/commands/migrate_find_container_v4_2.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ishtar_common/management/commands/migrate_find_container_v4_2.py b/ishtar_common/management/commands/migrate_find_container_v4_2.py index ac167bc6a..d40c74b61 100644 --- a/ishtar_common/management/commands/migrate_find_container_v4_2.py +++ b/ishtar_common/management/commands/migrate_find_container_v4_2.py @@ -34,7 +34,7 @@ def migrate(log=True): ) q = Find.objects.filter(Q(container__isnull=False) | Q(container_ref__isnull=False)).filter( - container_fisrt_full_location="" + Q(container_fisrt_full_location="") | Q(container_ref_fisrt_full_location="") ) total = q.count() ref_time = datetime.datetime.now() @@ -44,8 +44,6 @@ def migrate(log=True): write_output(base_lbl, idx, total, ref_time) if find.update_full_location(): changed.append(("Find", str(find), find.pk)) - find.no_post_process() - find.save() if not quiet: sys.stdout.write( |
