Opened 8 months ago

Last modified 8 months ago

#35299 closed Bug

Remove ValueError in Create method with OneToOne relation — at Initial Version

Reported by: Oleksandr Zahirnyi Owned by: nobody
Component: Database layer (models, ORM) Version: 5.0
Severity: Normal Keywords: create OneToOne exception
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The issue #34586 was fixed in commit by raising an Exception. However, now there is no possibility to create a new row with a OneToOne relation because of the condition if reverse_one_to_one_fields:. I believe that the issue must fix this part create() does not save reverse OneToOne relationship.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top