コード例 #1
0
ファイル: views.py プロジェクト: john2world/Ring1leads
def unread_notifications(request, methods=['GET']):
    unread_notifications = UserNotification.unread_notifications(request.user)
    return JsonResponse(unread_notifications)