Skip to content

Conversation

timgraham
Copy link
Collaborator

@timgraham timgraham commented Sep 5, 2024

refs #115

if field.many_to_many and field.remote_field.through._meta.auto_created:
self.create_model(field.remote_field.through)
return
default = self.effective_default(field)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This variable is only used in the line 18, could we move this line or erase it? or the method must be called?

Copy link
Collaborator

@WaVEV WaVEV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a minor question.

@timgraham timgraham merged commit 4e16422 into mongodb:main Sep 9, 2024
3 checks passed
@timgraham timgraham deleted the schema-fields branch September 9, 2024 14:37
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.

2 participants