Skip to content

Commit

Permalink
Merge branch 'exclude_form_blocks_conversion' into rer_staging
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Mar 11, 2024
2 parents 25b676b + ff06cc2 commit ae7aa20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Changelog
------------------

- Add adapters for link integrity for content-types with BlocksField fields.
- Do not try to convert strings in internal paths for *form* blocks.
[cekk]


Expand Down
2 changes: 1 addition & 1 deletion src/redturtle/volto/restapi/deserializer/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


EXCLUDE_KEYS = ["@type", "token", "value", "@id", "query"]
EXCLUDE_TYPES = ["title", "listing", "calendar", "searchEvents"]
EXCLUDE_TYPES = ["title", "listing", "calendar", "searchEvents", "form"]


class GenericResolveUIDDeserializer(object):
Expand Down
2 changes: 1 addition & 1 deletion src/redturtle/volto/restapi/serializer/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


EXCLUDE_KEYS = ["@type"]
EXCLUDE_TYPES = ["title", "listing"]
EXCLUDE_TYPES = ["title", "listing", "form"]


class GenericResolveUIDSerializer(object):
Expand Down

0 comments on commit ae7aa20

Please sign in to comment.