Opened 9 months ago
Closed 9 months ago
#35299 closed Bug (duplicate)
Remove ValueError in Create method with OneToOne relation
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.
Change History (2)
comment:1 by , 9 months ago
Description: | modified (diff) |
---|
comment:2 by , 9 months ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #18638.