mirror of
https://github.com/django/django.git
synced 2025-05-07 15:36:29 +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:
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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user