-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(emeritus course sync): add image and certificates for external c…
…ourses (#3064) * feat: add emeritus course image and ceus * test: add tests for the certificate page create/update * test: add tests for emeritus course image add/update * fix: save revision when there are changes * fix: do not publish certificate if saved as draft * publish external certificates and display CEUs for courseware pages * test: add test for product page context * review changes * review changes * revert unintentional change * review changes
- Loading branch information
1 parent
a5ee481
commit 912a4e5
Showing
10 changed files
with
413 additions
and
8 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
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,31 @@ | ||
# Generated by Django 4.2.13 on 2024-07-25 11:29 | ||
|
||
import wagtail.blocks | ||
import wagtail.fields | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("cms", "0070_alter_coursepage_topics_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="certificatepage", | ||
name="signatories", | ||
field=wagtail.fields.StreamField( | ||
[ | ||
( | ||
"signatory", | ||
wagtail.blocks.PageChooserBlock( | ||
page_type=["cms.SignatoryPage"], required=False | ||
), | ||
) | ||
], | ||
blank=True, | ||
help_text="You can choose upto 5 signatories.", | ||
use_json_field=True, | ||
), | ||
), | ||
] |
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
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
Oops, something went wrong.