Show More
@@ -14,7 +14,7 b' class Command(BaseCommand):' | |||||
14 | count = 0 |
|
14 | count = 0 | |
15 | for global_id in GlobalId.objects.exclude(content__isnull=True).exclude( |
|
15 | for global_id in GlobalId.objects.exclude(content__isnull=True).exclude( | |
16 | content=''): |
|
16 | content=''): | |
17 |
if global_id.is_local() |
|
17 | if global_id.is_local(): | |
18 | global_id.content = None |
|
18 | global_id.content = None | |
19 | global_id.save() |
|
19 | global_id.save() | |
20 | global_id.signature_set.all().delete() |
|
20 | global_id.signature_set.all().delete() |
General Comments 0
You need to be logged in to leave comments.
Login now