def homepage(request):
    haze_thread = HazeController()
    weather_thread = WeatherController()
    report_thread = ReportController()
    haze_thread.start()
    weather_thread.start()
    report_thread.start()
    return render(request,'homepage.html')
    weather_thread = WeatherController()
    haze_thread = HazeController()
    weather_thread.start()
    haze_thread.start()
    weather = check_weather()
    return render_to_response('homepage.html', {'weather': weather})