Refactor ADVANCED_COMPONENT_TYPES
Modified to a setting in CMS common.py and aws.py Also factored out are: ADVANCED_PROBLEM_TYPES This enables third parties to add XBlocks to their system without having to make a code change. Code also added to ensure that a component should exist in both ADVANCED_COMPONENT_TYPES and the course advanced module list in order for it to be enabled in the course.
Showing
- cms/djangoapps/contentstore/views/component.py 7 additions, 29 deletionscms/djangoapps/contentstore/views/component.py
- cms/djangoapps/contentstore/views/course.py 3 additions, 2 deletionscms/djangoapps/contentstore/views/course.py
- cms/envs/aws.py 5 additions, 0 deletionscms/envs/aws.py
- cms/envs/common.py 33 additions, 0 deletionscms/envs/common.py
Loading
Please register or sign in to comment