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