mirror of https://github.com/django/django.git
Refs #18012 -- Removed the now unused proxied_children model option.
Thanks to Tim for the review.
This commit is contained in:
parent
5b980897f2
commit
a82e21b0f9
|
@ -185,7 +185,6 @@ class ModelBase(type):
|
|||
raise TypeError("Proxy model '%s' has no non-abstract model base class." % name)
|
||||
new_class._meta.setup_proxy(base)
|
||||
new_class._meta.concrete_model = base._meta.concrete_model
|
||||
base._meta.concrete_model._meta.proxied_children.append(new_class._meta)
|
||||
else:
|
||||
new_class._meta.concrete_model = new_class
|
||||
|
||||
|
|
|
@ -71,7 +71,6 @@ class Options(object):
|
|||
|
||||
def __init__(self, meta, app_label=None):
|
||||
self._get_fields_cache = {}
|
||||
self.proxied_children = []
|
||||
self.local_fields = []
|
||||
self.local_many_to_many = []
|
||||
self.virtual_fields = []
|
||||
|
|
Loading…
Reference in New Issue