Implement list filtering forms (#57)
Closes #54 Signed-off-by: wkoot <[email protected]>
This commit is contained in:
1 parent
c3ed952b5f
commit
193f04a208
11 files changed
+193
-33
No files matched your search
@@ -60,6 +60,7 @@ class SoftwareProductSerializer(NetBoxModelSerializer):
|
||||
brief_fields = ("id", "display", "url", "name", "description")
|
||||
|
||||
def get_display(self, obj):
|
||||
# TODO - does not match form and filter views, display manufacturer separately?
|
||||
return f"{obj.manufacturer} - {obj}"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user