Commit 4b7d0e79 by x

one: hotfix update management command

parent d30fc623
...@@ -282,7 +282,7 @@ class Network(models.Model): ...@@ -282,7 +282,7 @@ class Network(models.Model):
except: except:
Network(id=id, name=name).save() Network(id=id, name=name).save()
l.append(id) l.append(id)
cls.objects.exclude(id__in=l).delete() Network.objects.exclude(id__in=l).delete()
class InstanceType(models.Model): class InstanceType(models.Model):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment