From fcd53c92b4b715180210a2acfa5907db8a564a6e Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sat, 17 Oct 2020 22:22:28 +0200 Subject: [PATCH] bugfix link reversion error --- inventory/models/links.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inventory/models/links.py b/inventory/models/links.py index 58bb7d5..2418a42 100644 --- a/inventory/models/links.py +++ b/inventory/models/links.py @@ -78,5 +78,8 @@ class BaseLink(BaseModel): self.update_response_info() return super().full_clean(**kwargs) + def __str__(self): + return self.url + class Meta: abstract = True