diff --git a/hb_server/apps/wpm/services.py b/hb_server/apps/wpm/services.py index 74af318..4440122 100644 --- a/hb_server/apps/wpm/services.py +++ b/hb_server/apps/wpm/services.py @@ -177,7 +177,7 @@ class WpmService(object): for i in instances: ins = WproductFlow() ins.wproduct = i - for f in WproductFlow.__meta.fields: + for f in WproductFlow._meta.fields: if f.name not in ['id', 'wproduct', 'is_lastlog']: setattr(ins, f.name, getattr(i, f.name, None)) ins.change_str = change_str