Skip to content
New issue

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

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

Already on GitHub? # to your account

Missing description for SlugRelatedField and PrimaryKeyRelatedField with many=True #894

Closed
StopMotionCuber opened this issue Dec 9, 2022 · 0 comments · Fixed by #895
Closed

Comments

@StopMotionCuber
Copy link
Contributor

Describe the bug
See #893 (comment)
Both fields are missing the description if used with many=True,

To Reproduce
Have a model with a SlugRelatedField and many=True. The according field in the Model should have a help_text attached.

Expected behavior
This help_text is shown, possibly with a variation like "[$help_text]" or "List of $help_text"

Further notes
This commit is removing the description for the manyRelatedField. It seems that the reason was a duplicate description inserted into the nested field.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
1 participant