Explorar o código

Fixes #1605: Added clusters and virtual machines to object list for global search

Jeremy Stretch %!s(int64=8) %!d(string=hai) anos
pai
achega
047f22e110
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      netbox/netbox/forms.py

+ 4 - 0
netbox/netbox/forms.py

@@ -30,6 +30,10 @@ OBJ_TYPE_CHOICES = (
     ('Tenancy', (
         ('tenant', 'Tenants'),
     )),
+    ('Virtualization', (
+        ('cluster', 'Clusters'),
+        ('virtualmachine', 'Virtual machines'),
+    )),
 )