chart = Chart(
datasource = metricsdata,
series_options = [
{'options': {
'type': 'line',
'stacking': False,
},
'terms': chart_terms
}
],
chart_options = {
'title': { 'text': 'Metrics - Last 30 days'},
'xAxis': { 'title': {'text': 'Date'}},
'yAxis': { 'title': {'text': 'Count'}},
}
)
cache.set works fine.
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/lib/python2.6/site-packages/s3cache/__init__.py", line 98, in get
return pickle.load(f)
File "lib/python2.6/site-packages/chartit/utils.py", line 24, in __init__
self.update(self.data)
File "lib/python2.6/site-packages/chartit/utils.py", line 40, in update
TypeError: ("descriptor 'keys' of 'dict' object needs an argument", <class 'chartit.highcharts.hcoptions.HCOptions'>, (<class 'chartit.highcharts.hcoptions.HCOptions'>,))
cache.set works fine.
cache.get OTOH:
Where s3cache is a custom cache backend (https://github.com/atodorov/django-s3-cache) similar to the filesystem cache backend but stores data in Amazon S3.