fix(software): ensure management command query correct for migration

!12 #32
This commit is contained in:
2024-05-25 22:12:33 +09:30
parent 96777f1bea
commit 46af675f3c

View File

@ -34,7 +34,8 @@ class Command(BaseCommand):
for software in Software.objects.filter(
~Q(organization = app_settings.global_organization)
|
Q(is_global = False),
Q(is_global = False)
&
Q(organization=app_settings.global_organization),
):