From 39b29b8f0abbe0b8e27f509266a6f83e7f8716dd Mon Sep 17 00:00:00 2001 From: afkiwers Date: Fri, 2 Feb 2024 10:47:59 +1100 Subject: [PATCH] added more information to str method to Footprint Mapping model --- inventree_kicad/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventree_kicad/models.py b/inventree_kicad/models.py index c9e7185..83b6c39 100644 --- a/inventree_kicad/models.py +++ b/inventree_kicad/models.py @@ -89,7 +89,7 @@ class Meta: def __str__(self): """Default name string which is returned when object is called""" - return f"{self.parameter_value} -> {self.kicad_footprint}" + return f"{self.kicad_category}: {self.parameter_value} -> {self.kicad_footprint}" class ProgressIndicator(models.Model):