@@ -0,0 +1,291 @@
+# -*- coding: utf-8 -*-%0Aimport ff%0Aimport copy%0A%0Aclass BaseM(object):%0A    def __str__(self):%0A        return unicode(self).encode('utf-8')%0A%0A%0A    def __unicode__(self):%0A        return ff.format_object(self.dump_object())%0A%0A%0A    def dump_object(self):%0A        return copy.deepcopy(self.__dict__)%0A%0A

add base model