Explorar el Código

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

Jeremy Stretch hace 8 años
padre
commit
047f22e110
Se han modificado 1 ficheros con 4 adiciones y 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'),
+    )),
 )