Opened 21 months ago
Last modified 21 months ago
#35299 closed Bug
Remove ValueError in Create method with OneToOne relation — at Version 1
| 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 (last modified by )
The issue #34586 was resolved in commit by introducing an Exception. However, as a result of the condition if reverse_one_to_one_fields:, it's currently not possible to create a new row with a OneToOne relationship. In my opinion, the issue should address the part create() does not save reverse OneToOne relationship instead of merely adding the Exception.
Note:
See TracTickets
for help on using tickets.