-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update AnnotatedImageBlock to use LinkBlock (#12481)
* introduction of LinkBlockWithoutLabel class * add new caption_url linkblock field + migrations + newline * migrations to copy over old data to new linkblock field * removing old captionURL field in place of caption_url * updated template to work with linkblock * combine operations (add new field + copy data + delete old field) in single migration files * updated streamfield provider to account for new caption_url format * formatting python * rename to LinkWithoutLabelBlock to match other block naming * updated tests to account for changes * updated migrations
- Loading branch information
1 parent
ba6aaf6
commit a3ec651
Showing
8 changed files
with
18,367 additions
and
40 deletions.
There are no files selected for viewing
2,863 changes: 2,863 additions & 0 deletions
2,863
network-api/networkapi/donate/migrations/0012_update_annotatedimageblock_with_linkblock.py
Large diffs are not rendered by default.
Oops, something went wrong.
3,794 changes: 3,794 additions & 0 deletions
3,794
network-api/networkapi/mozfest/migrations/0052_update_annotatedimageblock_with_linkblock.py
Large diffs are not rendered by default.
Oops, something went wrong.
236 changes: 207 additions & 29 deletions
236
network-api/networkapi/reports/tests/test_block_type_report.py
Large diffs are not rendered by default.
Oops, something went wrong.
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
11,474 changes: 11,474 additions & 0 deletions
11,474
...-api/networkapi/wagtailpages/migrations/0139_update_annotatedimageblock_with_linkblock.py
Large diffs are not rendered by default.
Oops, something went wrong.
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