Device.face to slug (#3569)

This commit is contained in:
Jeremy Stretch
2019-11-25 19:23:43 -05:00
parent b1a4be03fb
commit 30eaafc2b7
10 changed files with 89 additions and 37 deletions

View File

@@ -511,7 +511,7 @@ class DeviceFilter(LocalConfigContextFilter, TenancyFilterSet, CustomFieldFilter
label='Device model (slug)',
)
status = django_filters.MultipleChoiceFilter(
choices=DEVICE_STATUS_CHOICES,
choices=DeviceStatusChoices,
null_value=None
)
is_full_depth = django_filters.BooleanFilter(