If you already have the data you need via the API you may not need models in your case. To start out, call the API from your Django view, add the data from the resulting data frame to the context for the template. Then in the template render it however you like... charts, graphs, tables, whatever.
On April 6, 2021 2:35:40 PM CDT, J R <[email protected]> wrote: >Hello, > >Fairly new to Django, I've been through a few tutorials and understand >the >basics. > >My goal is to create a page which shows a defined asset's value over >time >compared to various social metrics tying to that asset (volume of >reddit >comments, twitter posts, ect.). The user will input what kind of asset >they >want to look at, a time range, as well as which social metrics to look >at >along with the defined asset. > >I have a dataframe pulled together from an API that has all the data I >need >to display the graphs that I want. > >I guess from here I'm a bit unsure on how to incorporate this dataframe > >into models, to begin working with different views and templates of >displaying the data. > >Any ideas, examples would be appreciated. > >-- >You received this message because you are subscribed to the Google >Groups "Django users" group. >To unsubscribe from this group and stop receiving emails from it, send >an email to [email protected]. >To view this discussion on the web visit >https://groups.google.com/d/msgid/django-users/6cf01d9d-a18b-4d12-98f9-4e79f02b8590n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/29EFA28F-D03D-4044-9580-65EFBD92AEB4%40fattuba.com.

