areski / django-nvd3

Django wrapper for nvd3 - It's time for beautiful charts
Other
416 stars 124 forks source link

Data from database #86

Closed gilleon closed 7 years ago

gilleon commented 7 years ago

I had lek to know if there was a way of pulling data from a database(MySql) to be used for the graph instead of the static dictionary list created within views?

areski commented 7 years ago

you should use django ORM to connect to your DB and pull the data you need

gilleon commented 7 years ago

Hello Areski,

Thanks for your swift response. I am new to python for that matter django framework, if you could point me to the right direction of how to implement ORM, I will be very grateful.