Commit bed56655 authored by Asa Kaplan's avatar Asa Kaplan

Change fields.py to be compatible with SQLAlchemy>=1.2

parent f04b71b7
......@@ -296,5 +296,5 @@ class InlineModelFormList(InlineFieldList):
def get_pk_from_identity(obj):
# TODO: Remove me
cls, key = identity_key(instance=obj)
cls, key, *token = identity_key(instance=obj)
return u':'.join(text_type(x) for x in key)
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