소스 검색

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

Jeremy Stretch 8 년 전
부모
커밋
047f22e110
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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'),
+    )),
 )