We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My model structure is:
ITEMS_SCHEMA = { 'type': 'dict', 'keys': { 'id': {'type': 'integer'}, 'answer': {'type': 'string'}, 'question': {'type': 'string'}, 'required': {'type': 'boolean'}, 'help_text': {'type': 'string'}, 'identifier': {'type': 'string'}, }, 'required': ['id', 'answer', 'question'] } class ResearchReport(TimeStampedModel): questions = ArrayField(JSONField(schema=ITEMS_SCHEMA), help_text="Questions of the research report", null=True, blank=True)
And it's showing like this on admin panel:
The text was updated successfully, but these errors were encountered:
@bhch could you please help me? What am I doing wrong?
Sorry, something went wrong.
98f3a5b
Hi, thanks for reporting this issue.
Currently, the ArrayField doesn't support nesting JSONField. I've fixed this issue now. I'll release a new version soon.
ArrayField
JSONField
@bhch thank you for quick support, could you please tell me the expected date of new release?
A couple of days.
Released in v2.23.0.
No branches or pull requests
My model structure is:
And it's showing like this on admin panel:
The text was updated successfully, but these errors were encountered: