def get_players(): players = Player.objects().to_json() return Response(players, mimetype="application/json", status=200)