fixed updating bug

This commit is contained in:
Rocky Duan
2012-08-13 23:27:55 -07:00
parent 38bdcabe53
commit 1f4d2f3d8a

View File

@@ -72,7 +72,7 @@ class Model(object):
else:
raise AttributeError("Field {0} does not exist".format(k))
def updatable_attribtes(self):
def updatable_attributes(self):
return extract(self.attributes, self.updatable_fields)
def initializable_attributes(self):