2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 21:45:39 +00:00

just use the generic view

This commit is contained in:
Matthias
2021-12-01 01:42:11 +01:00
parent 73c4772808
commit 88d8acfebd

View File

@ -172,7 +172,7 @@ class NotificationList(generics.ListAPIView):
return queryset
class NotificationDetail(generics.RetrieveDestroyAPIView):
class NotificationDetail(generics.RetrieveUpdateDestroyAPIView):
"""
Detail view for an individual notification object