Commit 035d8fb2 authored by John Red Medrano's avatar John Red Medrano

fixing

parent 7145f675
...@@ -62,7 +62,8 @@ def tmp_add_edit_delete(tmp_request_body, ...@@ -62,7 +62,8 @@ def tmp_add_edit_delete(tmp_request_body,
serializer.is_valid(raise_exception=True) serializer.is_valid(raise_exception=True)
old_instance = model_to_dict(tmp_instance) old_instance = model_to_dict(tmp_instance)
print(tmp_instance) print(old_instance)
print(type(old_instance))
self.perform_update(serializer) self.perform_update(serializer)
new_instance = serializer.data new_instance = serializer.data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment