@csrf_exempt
def accumulate_tweets(request):
    if (request.method == 'POST'):
        (name, locations, start_date, end_date, word_list, logic, exact) = parse_parameters(request)
        user = get_user(name)
        for loc in locations:
            init_tweet_accumulation_tweet_list(user, loc['region'], loc['place'], word_list)
    empty = {}
    return JsonResponse(empty)
@csrf_exempt
def accumulate_tweets(request):
    if (request.method == 'POST'):
        (name, locations, start_date, end_date, word_list, logic, exact) = parse_parameters(request)
        user = get_user(name)
        for loc in locations:
            init_tweet_accumulation_tweet_list(user, loc['region'], loc['place'], word_list)
    empty = {}
    return JsonResponse(empty)