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

Fixing RemovedInDjango19Warning related to get_model. fixes issue #6 #9

Merged
merged 1 commit into from
Sep 2, 2015

Conversation

jproffitt
Copy link
Contributor

Simply uses apps.get_model if that is available. (django >= 1.7) Falls back to previous behavior if it is not available.

sheppard added a commit that referenced this pull request Sep 2, 2015
Fixing RemovedInDjango19Warning related to get_model. fixes issue #6
@sheppard sheppard merged commit 7bdb9e1 into openwisp:master Sep 2, 2015
@sheppard
Copy link
Collaborator

sheppard commented Sep 2, 2015

Thanks!

@acpmasquerade
Copy link

from django.apps import apps
apps.get_model

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

Successfully merging this pull request may close these issues.

3 participants