just use the generic view
This commit is contained in:
parent
73c4772808
commit
88d8acfebd
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue