Api list igual incluye de que usuario es la lista
This commit is contained in:
@@ -44,7 +44,10 @@ def _get_list(request, user):
|
|||||||
} for tag in list_item.tags.all()]
|
} for tag in list_item.tags.all()]
|
||||||
})
|
})
|
||||||
|
|
||||||
return JsonResponse({'list': encoded_list})
|
return JsonResponse({
|
||||||
|
'user_id': user.id,
|
||||||
|
'list': encoded_list
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
@protected_resource()
|
@protected_resource()
|
||||||
|
|||||||
Reference in New Issue
Block a user