1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

reorganize host interfaces. remove it from instance methods

This commit is contained in:
catborise 2021-02-12 16:05:16 +03:00
parent 59af676f68
commit 2f1b11b3ca
6 changed files with 12 additions and 16 deletions

View file

@ -204,10 +204,6 @@ class Instance(models.Model):
def formats(self):
return self.proxy.get_image_formats()
@cached_property
def interfaces(self):
return self.proxy.get_ifaces()
class PermissionSet(models.Model):
"""