Пример #1
0
def samsung_pm(request):
    am, pm = fbprophet_main.get_json()
    context = {
        'day': SafeString(pm),
        'corp': 'samsung',
    }
    return render(request, 'blog/chart_realtime.html', context)
Пример #2
0
def kt_am(request):
    am, pm = fbprophet_main.get_json()
    context = {
        'day': SafeString(am),
        'corp': 'kt',
    }
    return render(request, 'blog/chart_realtime.html', context)
Пример #3
0
def kakao_am(request):
    am, pm = fbprophet_main.get_json()
    context = {
        'day': am,
        'corp': 'kakao',
    }
    return render(request, 'blog/chart_realtime.html', context)
Пример #4
0
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)