New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_all_field_names deprecated in newest Django update #39

atodorov opened this Issue Jul 30, 2016 · 0 comments


None yet
1 participant

atodorov commented Jul 30, 2016

Copy of grantmcconnaughey#7 as I'm merging the two projects:

@dylanfetch commented 16 days ago:

chartit\ 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

@atodorov atodorov added the important label Jul 30, 2016

atodorov added a commit that referenced this issue Aug 2, 2016

Updates for deprecated API in Django 1.10. Fixes #39
- copy get_all_field_names()
- don't use get_field_by_name()

@atodorov atodorov closed this in 57b9a83 Aug 2, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment