Skip to content

Conversation

charettes
Copy link
Owner

ForeignKey.get_default() cannot be safely called on instances that are not bound to a model yet; this will have to be adjusted if Django's schema editor is ever adjusted to operate from model states.

Thanks @jzmiller1 for the report.

…le defaults.

ForeignKey.get_default() cannot be safely called on instances that are not
bound to a model yet; this will have to be adjusted if Django's schema editor
is ever adjusted to operate from model states.

Thanks @jzmiller1 for the report.
@charettes charettes merged commit 9659efa into master Apr 23, 2025
15 checks passed
@charettes charettes deleted the foreign-key-callable-default branch April 23, 2025 15:33
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