Sorry, I am not familiar with github.
Not sure why so many changes are listed here.
latest 2 are my changes.
Add argument "force=False" to .sync() for FieldSet/Field/AttributeField.
This argument will be used to ignore the KeyError while sync data to model.
Sometimes user will generate the form with only several fields. So when sync to a new model object, KeyError will throw.
This argument is used to force synchronizing even if some fields are not found in data.
Default value is "False" so that it will not impact existed codes.
Sorry, I am not familiar with github. Not sure why so many changes are listed here. latest 2 are my changes.
Add argument "force=False" to .sync() for FieldSet/Field/AttributeField. This argument will be used to ignore the KeyError while sync data to model. Sometimes user will generate the form with only several fields. So when sync to a new model object, KeyError will throw. This argument is used to force synchronizing even if some fields are not found in data. Default value is "False" so that it will not impact existed codes.