The Humanity Star
thehumanitystar.com5 pointsby rojoca1 comments
@inertia("User/List")
@api_view(["GET"])
def get_users(request, **kwargs):
// ...
return Response(data={"users": users})
This can return JSON or HTML with the data injected. (as-> [:foo :bar] v
(map name v)
(first v)
(.substring v 1))