-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
django.db.models.get_model is deprecated #6
Comments
Using Note: I am not using the django-swappable-models project, but this is currently the top link when Googling for |
Thanks for the heads up! |
Fixing RemovedInDjango19Warning related to get_model. fixes issue #6
Fixed in #9 |
Hi, has this been resolved? |
Yes, according to the above comment this was fixed more than three years ago in pull request #9. Looking at the commit this was added already in swapper version 0.3.0. |
The alias will be dropped in Django 1.9. Just need to update
swapper.load_model
to usedjango.db.models.loading.get_model
instead.The text was updated successfully, but these errors were encountered: