Last active
May 7, 2019 03:24
-
-
Save fsbraun/8840db30b8eafd4eac6f47eb9905b3d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from django.contrib.staticfiles.templatetags.staticfiles import static | |
from django.shortcuts import render | |
def cummulative_chart(request): | |
context = { | |
'cummulative_chart': { | |
'id': 1, | |
'chartsource': static('cumulativeLineData.json'), | |
'tick_values': json.dumps([1078030800000,1122782400000,1167541200000,1251691200000]), | |
} | |
} | |
return render(request, 'base.html', context) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment