2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-05 14:58:50 +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
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

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