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

Prepare for Django 1.10 #24

Open
ebrelsford opened this issue Feb 29, 2016 · 0 comments
Open

Prepare for Django 1.10 #24

ebrelsford opened this issue Feb 29, 2016 · 0 comments

Comments

@ebrelsford
Copy link

I receive three warnings on the console when using django-report-builder that are related to deprecations coming in Django 1.10, figured I would note these here so we're not surprised when it gets here.

/.../python2.7/site-packages/report_utils/model_introspection.py:41:
RemovedInDjango110Warning: 'get_all_field_names is an unofficial API that has been deprecated. You may be able to replace it with 'get_fields()'
    all_fields_names = model_class._meta.get_all_field_names()

/.../python2.7/site-packages/report_utils/model_introspection.py:43:
RemovedInDjango110Warning: 'get_field_by_name is an unofficial API that has been deprecated. You may be able to replace it with 'get_field()'
    field = model_class._meta.get_field_by_name(field_name)

/.../python2.7/site-packages/report_utils/model_introspection.py:44:
RemovedInDjango110Warning: Usage of field.related has been deprecated. Use field.remote_field instead.
    if field[2] and not field[3] and not hasattr(field[0], 'related'):
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

1 participant