def show_tweets_list(request, name):
    user = get_user(name)
    print('in show_tweets_list')
    if (request.method == 'POST'):
        search_form = GetTweetsForm(request.POST)
        (region, place) = handle_search_form(search_form)
        quary = 'I am lish lash'
        region = user.get_region(region)
        place = region.get_place_by_name(place)
        return render(request, 'tweets.html', {'quary': quary, 'region': region, 'place': place, 'user': name})
    elif (request.method == 'GET'):
        quary = 'I am lish lash'
        region = 'Lash'
        place = 'Lish'
        return render(request, 'tweets.html', {'quary': quary, 'region': region, 'place': place, 'user': name})
def show_tweets_list(request, name):
    user = get_user(name)
    print('in show_tweets_list')
    if (request.method == 'POST'):
        search_form = GetTweetsForm(request.POST)
        (region, place) = handle_search_form(search_form)
        quary = 'I am lish lash'
        region = user.get_region(region)
        place = region.get_place_by_name(place)
        return render(request, 'tweets.html', {'quary': quary, 'region': region, 'place': place, 'user': name})
    elif (request.method == 'GET'):
        quary = 'I am lish lash'
        region = 'Lash'
        place = 'Lish'
        return render(request, 'tweets.html', {'quary': quary, 'region': region, 'place': place, 'user': name})