Have every class inherit from object.
This commit is contained in:
parent
a8127b0f41
commit
de0e42240c
14 changed files with 33 additions and 22 deletions
|
|
@ -8,6 +8,8 @@ Config values should usually be set through the
|
|||
manager's conf() method.
|
||||
|
||||
"""
|
||||
from builtins import object
|
||||
|
||||
try:
|
||||
import cPickle as pickle
|
||||
except ImportError:
|
||||
|
|
@ -99,7 +101,7 @@ class ServerConfig(WeakSharedMemoryModel):
|
|||
self.delete()
|
||||
value = property(__value_get, __value_set, __value_del)
|
||||
|
||||
class Meta:
|
||||
class Meta(object):
|
||||
"Define Django meta options"
|
||||
verbose_name = "Server Config value"
|
||||
verbose_name_plural = "Server Config values"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue