Skip to content
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_field_by_name has been deprecated. #38

Open
ghost opened this issue Jul 12, 2016 · 0 comments
Open

get_field_by_name has been deprecated. #38

ghost opened this issue Jul 12, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 12, 2016

m2 = MonitorObject.objects.get(pk=1)

site-packages/eav/managers.py:113: RemovedInDjango110Warning: 'get_field_by_name is an unofficial API that has been deprecated. You may be able to replace it with 'get_field()'
field, m, direct, m2m = model_cls._meta.get_field_by_name(fields[0])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants