Fix compatible problem for InlineModelFormList with two primary keys

the type of primary of model with two or more primary keys is tuple, which is different from that of models with one primary.
InlineModelFormField and InlineModelFormList can only work with str type primary key.