Skip to content

Commit

Permalink
Merge pull request pallets-eco#1535 from KyleXie/master
Browse files Browse the repository at this point in the history
refs pallets-eco#1536 fixed pk validate in InlineModelFormList
  • Loading branch information
mrjoes authored Nov 12, 2017
2 parents 0d248a8 + 6e1447d commit 50f9cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_admin/contrib/sqla/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def populate_obj(self, obj, name):

# Handle request data
for field in self.entries:
field_id = field.get_pk()
field_id = str(field.get_pk())

is_created = field_id not in pk_map
if not is_created:
Expand Down

0 comments on commit 50f9cc2

Please sign in to comment.