I use a uuid for a primary key on my objects, and as such call it uuid. When I go to create the initial field history, I get this error:
File "lib/python2.7/site-packages/field_history/management/commands/createinitialfieldhistory.py", line 35, in handle object_id=obj.id,AttributeError: 'Order' object has no attribute 'id'
I fixed this by changing line 35 in createinitialfieldhistory.py to object_id=obj.pk
I use a uuid for a primary key on my objects, and as such call it uuid. When I go to create the initial field history, I get this error:
File "lib/python2.7/site-packages/field_history/management/commands/createinitialfieldhistory.py", line 35, in handle object_id=obj.id,
AttributeError: 'Order' object has no attribute 'id'
I fixed this by changing line 35 in createinitialfieldhistory.py to
object_id=obj.pk