Refs #18012 -- Removed the now unused proxied_children model option.

Thanks to Tim for the review.
This commit is contained in:
Simon Charette 2015-10-08 11:56:13 -04:00
parent 5b980897f2
commit a82e21b0f9
2 changed files with 0 additions and 2 deletions

View File

@ -185,7 +185,6 @@ class ModelBase(type):
raise TypeError("Proxy model '%s' has no non-abstract model base class." % name) raise TypeError("Proxy model '%s' has no non-abstract model base class." % name)
new_class._meta.setup_proxy(base) new_class._meta.setup_proxy(base)
new_class._meta.concrete_model = base._meta.concrete_model new_class._meta.concrete_model = base._meta.concrete_model
base._meta.concrete_model._meta.proxied_children.append(new_class._meta)
else: else:
new_class._meta.concrete_model = new_class new_class._meta.concrete_model = new_class

View File

@ -71,7 +71,6 @@ class Options(object):
def __init__(self, meta, app_label=None): def __init__(self, meta, app_label=None):
self._get_fields_cache = {} self._get_fields_cache = {}
self.proxied_children = []
self.local_fields = [] self.local_fields = []
self.local_many_to_many = [] self.local_many_to_many = []
self.virtual_fields = [] self.virtual_fields = []