Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug/through table dunder syntax fails in 1.3.3 #274

Conversation

cb109
Copy link
Contributor

@cb109 cb109 commented Dec 10, 2021

Reproduction for #273

The test will fail with v1.3.3 (it passes with v1.3.2) like:

  AttributeError: 'ManyToManyRel' object has no attribute 'has_default'

The problem seems to be that I'm using a ManyToManyField with a specific
through table, which I am then making an instance of, passing both its
foreignkey fields with the dunder syntax. Passing instances for any of
these directly instead will make the test pass. Removing the
ManyToManyField will also make the test pass.
Running black locally in the venv had no effect (⇀‸↼)
@timjklein36 timjklein36 added the help wanted Extra attention is needed label Dec 21, 2021
@berinhard
Copy link
Member

Closing this PR because the issue #273 was kind of repeated and was already fixed by #299

@berinhard berinhard closed this Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants