diff options
Diffstat (limited to 'django/db/models/base.py')
| -rw-r--r-- | django/db/models/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/base.py b/django/db/models/base.py index 9409454d3e..c96507d5a1 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -164,7 +164,7 @@ class ModelBase(type): # Basic setup for proxy models. if is_proxy: base = None - for parent in [cls for cls in parents if hasattr(cls, '_meta')]: + for parent in [kls for kls in parents if hasattr(kls, '_meta')]: if parent._meta.abstract: if parent._meta.fields: raise TypeError("Abstract base class containing model fields not permitted for proxy model '%s'." % name) |
