Additional Unblackening
This commit is contained in:
parent
cf4db67e0b
commit
db805053d9
|
|
@ -229,7 +229,6 @@ class JournalEntryViewSet(NetBoxModelViewSet):
|
|||
# Config contexts
|
||||
#
|
||||
|
||||
|
||||
class ConfigContextViewSet(SyncedDataMixin, NetBoxModelViewSet):
|
||||
queryset = ConfigContext.objects.all()
|
||||
serializer_class = serializers.ConfigContextSerializer
|
||||
|
|
@ -336,7 +335,6 @@ class ObjectTypeViewSet(ReadOnlyModelViewSet):
|
|||
"""
|
||||
Read-only list of ObjectTypes.
|
||||
"""
|
||||
|
||||
permission_classes = [IsAuthenticatedOrLoginNotRequired]
|
||||
queryset = ObjectType.objects.order_by('app_label', 'model')
|
||||
serializer_class = serializers.ObjectTypeSerializer
|
||||
|
|
@ -347,7 +345,6 @@ class ObjectTypeViewSet(ReadOnlyModelViewSet):
|
|||
# User dashboard
|
||||
#
|
||||
|
||||
|
||||
class DashboardView(RetrieveUpdateDestroyAPIView):
|
||||
queryset = Dashboard.objects.all()
|
||||
serializer_class = serializers.DashboardSerializer
|
||||
|
|
|
|||
Loading…
Reference in New Issue