Skip to content

Add support for help_text field parameter as docstring for django model fields. #129

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

Merged
merged 4 commits into from
Dec 18, 2021

Conversation

mabugaj
Copy link
Contributor

@mabugaj mabugaj commented Dec 16, 2021

Here are added features:

  • support for help_text parameter of django model field
  • casting docstring to string type, which solves the problem of serializing Proxy objects in case of lazy translation

This is the final result with and without help_text:

image

this closes #127

mabugaj and others added 2 commits December 17, 2021 23:48
Copy link
Member

@pawamoy pawamoy left a comment

Choose a reason for hiding this comment

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

OK, good to go!

@pawamoy pawamoy merged commit 01ac524 into mkdocstrings:master Dec 18, 2021
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.

Add support for help_text field parameter as description with django model fields.
2 participants