From a82e21b0f9ac613db3354d46539cb97c897ea663 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Thu, 8 Oct 2015 11:56:13 -0400 Subject: [PATCH] Refs #18012 -- Removed the now unused proxied_children model option. Thanks to Tim for the review. --- django/db/models/base.py | 1 - django/db/models/options.py | 1 - 2 files changed, 2 deletions(-) diff --git a/django/db/models/base.py b/django/db/models/base.py index be1cb48df92..e58e50e8184 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -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 diff --git a/django/db/models/options.py b/django/db/models/options.py index 3d0a42e515a..9c69387c964 100644 --- a/django/db/models/options.py +++ b/django/db/models/options.py @@ -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 = []