mirror of
https://github.com/django/django.git
synced 2025-10-27 23:56:08 +00:00
[1.5.x] Fixed #19576 -- Use six.with_metaclass uniformously accross code base.
Backport of f58efd07f from master.
This commit is contained in:
committed by
Claude Paroz
parent
9d6d0de7c1
commit
78739faedb
@@ -311,7 +311,7 @@ class ModelState(object):
|
|||||||
self.adding = True
|
self.adding = True
|
||||||
|
|
||||||
|
|
||||||
class Model(six.with_metaclass(ModelBase, object)):
|
class Model(six.with_metaclass(ModelBase)):
|
||||||
_deferred = False
|
_deferred = False
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user