Go to Django 1.10. Remove support for Django 1.9.
This commit is contained in:
parent
cdeffc1f08
commit
ce3558d654
5 changed files with 6 additions and 255 deletions
|
|
@ -77,7 +77,7 @@ class SharedMemoryModelBase(ModelBase):
|
|||
|
||||
"""
|
||||
# the dbmodel is either the proxy base or ourselves
|
||||
dbmodel = cls._meta.proxy_for_model if cls._meta.proxy else cls
|
||||
dbmodel = cls._meta.concrete_model if cls._meta.proxy else cls
|
||||
cls.__dbclass__ = dbmodel
|
||||
if not hasattr(dbmodel, "__instance_cache__"):
|
||||
# we store __instance_cache__ only on the dbmodel base
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue