@csrf_exempt
def show_users_place(request):
    print('show_users_place')
    if (request.method == 'POST'):
        (twitter_users, _) = generate_users_tweets(request)
        if isinstance(twitter_users, Exception):
            return JsonResponse(str(twitter_users), safe=False, status=500)
        elif (len(twitter_users) == 0):
            return JsonResponse('Error: No Tweets in location and date', safe=False, status=500)
        return JsonResponse(user_ext_to_json(twitter_users), safe=False)
    else:
        empty = {}
        return JsonResponse(empty)
@csrf_exempt
def show_users_place(request):
    print('show_users_place')
    if (request.method == 'POST'):
        (twitter_users, _) = generate_users_tweets(request)
        if isinstance(twitter_users, Exception):
            return JsonResponse(str(twitter_users), safe=False, status=500)
        elif (len(twitter_users) == 0):
            return JsonResponse('Error: No Tweets in location and date', safe=False, status=500)
        return JsonResponse(user_ext_to_json(twitter_users), safe=False)
    else:
        empty = {}
        return JsonResponse(empty)