-
Notifications
You must be signed in to change notification settings - Fork 4
Change help_text
to description
in the API
#188
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
Conversation
8ea7efc
to
8e267c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please amend the Changelog?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I filled an issue to rename help_text
to description
in models (issue #190).
LGTM. Thanks for the contribution.
9e5ab0e
to
fe941c3
Compare
New attempt. |
if 'help_text' attribute exists, then use this value for 'description'
fe941c3
to
c5de7e9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
# XXX FIX ME: temporary fix | ||
if 'help_text' in data: | ||
data['description'] = data.pop('help_text') | ||
return super(ItemSerializer, self).to_internal_value(data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the magic 😉
catch up API changes in formidable-ui