85👍
✅
django.db.models.loading.get_model()
has been removed in django 1.9.
You are supposed to use django.apps
instead.
>>> from django.apps import apps
>>> apps.get_model('shop', 'Product')
<class 'shop.models.Product'>
>>>
Source:stackexchange.com