Changes between Initial Version and Version 29 of Ticket #10227
- Timestamp:
- Jun 6, 2014, 10:40:16 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10227
- Property Milestone post-1.0
- Property Triage Stage Unreviewed → Accepted
- Property Cc added
- Property Version 1.0 → SVN
- Property Severity → Normal
- Property Type → New feature
- Property Easy pickings unset
- Property Has patch unset
- Property UI/UX unset
- Property Summary OneToOne fields with null=True raise DoesNotExist exception on related model → Support a related_default on OneToOne fields
-
Ticket #10227 – Description
initial v29 1 EDIT: scroll to comment 13 to see what this ticket is about. 2 3 1 4 Referencing a {{{OneToOneField}}} with {{{null=True}}} (i.e. it's optional) when there is no value set will return {{{None}}}, as expected. 2 5 However, referencing the reverse side of the relation does not follow this behavior and raises a {{{DoesNotExist}}} exception.