Skip to content

Fixed #10227 - Adding OneToOneField.related_default#21415

Open
JordanHyatt wants to merge 1 commit into
django:mainfrom
JordanHyatt:ticket_10227
Open

Fixed #10227 - Adding OneToOneField.related_default#21415
JordanHyatt wants to merge 1 commit into
django:mainfrom
JordanHyatt:ticket_10227

Conversation

@JordanHyatt

Copy link
Copy Markdown

Trac ticket number

ticket-10227

Branch description

Support a related_default on OneToOne fields

AI Assistance Disclosure (REQUIRED)

  • No AI tools were used in preparing this PR.
  • If AI tools were used, I have disclosed which ones, and fully reviewed and verified their output.

Checklist

  • This PR follows the contribution guidelines.
  • This PR does not disclose a security vulnerability (see vulnerability reporting).
  • This PR targets the main branch.
  • The commit message is written in past tense, mentions the ticket number, and ends with a period (see guidelines).
  • I have not requested, and will not request, an automated AI review for this PR.
  • I have checked the "Has patch" ticket flag in the Trac system.
  • I have added or updated relevant tests.
  • I have added or updated relevant docs, including release notes if applicable.
  • I have attached screenshots in both light and dark modes for any UI changes.

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown

Thank you for your contribution to Django! This pull request has one or more items that need attention before it can be accepted for review.

⚠️ Warning: Incorrect Trac Ticket Flag

The referenced ticket ticket-10227 does not have the Has patch flag set in Trac. This flag must be checked before a pull request can be reviewed.

What to do:

  1. Open the ticket at https://code.djangoproject.com/ticket/10227.
  2. Scroll down and check the Has patch checkbox on the ticket.
  3. Save the ticket.

For more information see https://docs.djangoproject.com/en/dev/internals/contributing/triaging-tickets/#has-patch.

If you have questions about these requirements, please review the contributing guidelines or ask for help on the Django Forum.

@JordanHyatt JordanHyatt force-pushed the ticket_10227 branch 5 times, most recently from 676bc28 to dde42d9 Compare June 3, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant