def samsung_pm(request): am, pm = fbprophet_main.get_json() context = { 'day': SafeString(pm), 'corp': 'samsung', } return render(request, 'blog/chart_realtime.html', context)
def kt_am(request): am, pm = fbprophet_main.get_json() context = { 'day': SafeString(am), 'corp': 'kt', } return render(request, 'blog/chart_realtime.html', context)
def kakao_am(request): am, pm = fbprophet_main.get_json() context = { 'day': am, 'corp': 'kakao', } return render(request, 'blog/chart_realtime.html', context)
def sk_am(request): print("hello") am, pm = fbprophet_main.get_json() print(am, pm) print(am[0]) context = { 'day': SafeString(am), 'corp': 'sk', } return render(request, 'blog/chart_realtime.html', context)