diff --git a/apps/assets/models/asset/host.py b/apps/assets/models/asset/host.py index 3dbe4ca3d..5b6ade8bd 100644 --- a/apps/assets/models/asset/host.py +++ b/apps/assets/models/asset/host.py @@ -1,15 +1,12 @@ -from django.db import models -from django.utils.translation import gettext_lazy as _ +# from django.db import models +# from django.utils.translation import gettext_lazy as _ from assets.const import Category from .common import Asset -from .device_info import DeviceInfo +# from .device_info import DeviceInfo class Host(Asset): - device_info = models.ForeignKey(DeviceInfo, on_delete=models.SET_NULL, - null=True, verbose_name=_("Device info")) - def save(self, *args, **kwargs): self.category = Category.HOST return super().save(*args, **kwargs)