-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added function get_allow_discussion_value (#1674)
* added allow_discussion funtion * added log * added else condition * added back test * Handle IContentish interface implementation in get_allow_discussion_value * formatted using black * imported IContentish Interface * removed the else condition * corrected else statement * added discussion test to portal * added testSerializer * added function * formatted * test name changes to prevent flake8 fail * made changes allow_discussion_portal_function * removed flake 8 error * update the requested version * removed the portal error
- Loading branch information
1 parent
56d00c0
commit 7833026
Showing
4 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed `allow_discussion` serialization for the Plone Site, to return a boolean like other content types. @Akshat2Jain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters