Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore TupleLoad AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore NameLoad Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore TupleLoad Str Assign NameStore TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr keyword NameLoad Return Call NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Call NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str
N/A rest_framework viewsets rest_framework permissions rest_framework filters status rest_framework.response Response profiles.models Notification serializers NotificationSerializer NotificationViewset N/A N/A viewsets ModelViewSet N/A N/A permission_classes N/A N/A permissions IsAuthenticated N/A paginate_by 20 N/A serializer_class NotificationSerializer N/A filter_backends N/A N/A filters DjangoFilterBackend N/A filters OrderingFilter N/A filter_fields N/A is_read N/A ordering_fields N/A date_created get_queryset N/A N/A self N/A N/A N/A user N/A N/A self request user N/A N/A N/A N/A user notifications select_related sender recipient N/A mark_as_read_all_notification N/A N/A self request N/A N/A N/A user N/A N/A self request user N/A N/A N/A N/A N/A N/A user notifications filter is_read False update is_read True N/A N/A Response status N/A status HTTP_200_OK N/A mark_as_read_single_notification N/A N/A self request pk N/A None N/A N/A notification N/A N/A self get_object N/A N/A notification is_read True N/A N/A N/A notification save N/A N/A Response status N/A status HTTP_200_OK N/A N/A N/A notification_list N/A N/A NotificationViewset as_view N/A get patch list mark_as_read_all_notification N/A notification_detail N/A N/A NotificationViewset as_view N/A get patch retrieve mark_as_read_single_notification