1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Corrected DeviceTypeDetailView

This commit is contained in:
Jeremy Stretch
2016-03-08 22:07:47 -05:00
parent f0f3435792
commit 0acf56d773

View File

@@ -138,7 +138,7 @@ class DeviceTypeListView(generics.ListAPIView):
filter_class = DeviceTypeFilter
class DeviceTypeDetailView(generics.ListAPIView):
class DeviceTypeDetailView(generics.RetrieveAPIView):
"""
Retrieve a single device type
"""