chartit / django-chartit

A Django app to plot charts and pivot charts directly from the models. Uses HighCharts and jQuery JavaScript libraries to render the charts on the webpage.
http://django-chartit.mrsenko.com/
Other
492 stars 164 forks source link

get_all_field_names deprecated in newest Django update #39

Closed atodorov closed 8 years ago

atodorov commented 8 years ago

Copy of https://github.com/grantmcconnaughey/django-chartit2/issues/7 as I'm merging the two projects:

@dylanfetch commented 16 days ago:

chartit\validation.py:30: RemovedInDjango110Warning: 'get_all_field_names is an unofficial API that has been deprecated. You may be able to replace it with 'get_fields()' model_fields = model._meta.get_all_field_names()

I got this error while displaying a 2 axis line graph.

@grantmcconnaughey commented 16 days ago

Does it raise an exception or just print out a warning? This library is not compatible with Django 1.10 yet since it isn't released yet.

@dylanfetch commented 12 days ago • edited

It's just the warning I think. That message is displayed on the log and the border and titles of the graph are displayed, but the plot is not. Sorry if I didn't provide enough information, I've never opened an issue on a project before. I was unaware that I moved to an unreleased version of Django. I updated recently while trying to resolve an issue I was having migrating. I'll try to move back to the previous version.

Edit: I just checked and I'm using Django 1.9.7

Thank you, Dylan Fetch