You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Foreign keys are serialized as (field)_id, but when saving a model, the field name must be sent without the id suffix. Among other things, this makes form rendering a bit awkward (<input name=field value={{field_id}}>). The best approach is probably to standardize on field_id, and figure out how to remove the field_from_native / field_to_native hacks in IDRelatedField.
The text was updated successfully, but these errors were encountered:
sheppard
changed the title
standardize on field_id
rest: standardize on field_id
Mar 17, 2014
Foreign keys are serialized as
(field)_id
, but when saving a model, the field name must be sent without the id suffix. Among other things, this makes form rendering a bit awkward (<input name=field value={{field_id}}>
). The best approach is probably to standardize on field_id, and figure out how to remove thefield_from_native
/field_to_native
hacks inIDRelatedField
.The text was updated successfully, but these errors were encountered: