mirror of
https://github.com/django/django.git
synced 2025-09-27 12:39:17 +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
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ class ModelState(object):
|
|||
self.adding = True
|
||||
|
||||
|
||||
class Model(six.with_metaclass(ModelBase, object)):
|
||||
class Model(six.with_metaclass(ModelBase)):
|
||||
_deferred = False
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue