Skip to content

Commit

Permalink
Fix #1025: bug: DeviceType filtering in api2
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-us authored Apr 3, 2017
1 parent 664a2e1 commit 8e1a34c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netbox/dcim/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ class DeviceTypeViewSet(WritableSerializerMixin, CustomFieldModelViewSet):
queryset = DeviceType.objects.select_related('manufacturer')
serializer_class = serializers.DeviceTypeSerializer
write_serializer_class = serializers.WritableDeviceTypeSerializer
filter_class = filters.DeviceTypeFilter


#
Expand Down

0 comments on commit 8e1a34c

Please sign in to comment.