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

Make admin work with embedded field and arrayfield for django 3.2 #675

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bslocombe
Copy link

@bslocombe bslocombe commented Aug 16, 2023

I started with the fix from snphan however this still crashed with the array field. Digging a little deeper, I was unclear how the arrayfield was even being initialised.

This patch should fix the original issue, dict does not have _meta for embedded field, but also the list does not have _meta for the array field. Bit confused as to what the intended structure was for these forms but I have tested on a few of my own apps with version 3.2 in the admin and it appears to work fine.

This should address #624 but possibly a few other issues I saw open still.

Since I use this for a few projects, ill keep maintaining my fork until this is merged in/ fixed otherwise

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