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
Is your feature request related to a problem? Please describe.
Setting a model's field to be uneditable (editable=False) is meant to prevent updating an existing instance, however the field can be set upon creation. The create_copy_of_instance method filters out non-editable fields from the cloned instance making it different from the source object on one hand and impossible to fill on the other.
Describe the solution you'd like?
Clone non-editable fields by default or by passing an argument.
Describe alternatives you've considered?
None
Anything else?
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Is this feature missing in the latest version?
Is your feature request related to a problem? Please describe.
Setting a model's field to be uneditable (
editable=False
) is meant to prevent updating an existing instance, however the field can be set upon creation. Thecreate_copy_of_instance
method filters out non-editable fields from the cloned instance making it different from the source object on one hand and impossible to fill on the other.Describe the solution you'd like?
Clone non-editable fields by default or by passing an argument.
Describe alternatives you've considered?
None
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: