@add_source_code_and_doc
def model_details(request, title, code, doc, sidebar_items):
    fname = os.path.join(os.path.split(os.path.abspath(__file__))[0], 
                         'models.py')
    with open(fname) as f:
        code = ''.join(f.readlines())
    return render_to_response('model_details.html', 
                              {'code': code,
                               'title': title,
                               'doc': doc,
                               'sidebar_items': sidebar_items})
All the charts in this section are based on the following Models. The raw 
dataset/ETHPy150Open pgollakota/django-chartit/demoproject/chartdemo/views.py/model_details