fixed updating bug
This commit is contained in:
@@ -72,7 +72,7 @@ class Model(object):
|
|||||||
else:
|
else:
|
||||||
raise AttributeError("Field {0} does not exist".format(k))
|
raise AttributeError("Field {0} does not exist".format(k))
|
||||||
|
|
||||||
def updatable_attribtes(self):
|
def updatable_attributes(self):
|
||||||
return extract(self.attributes, self.updatable_fields)
|
return extract(self.attributes, self.updatable_fields)
|
||||||
|
|
||||||
def initializable_attributes(self):
|
def initializable_attributes(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user