only recusively delete modules if all their parents are marked for deletion (PLAT-333)
update '_delete_item' method for draft only modules and update delete_orphans management command fix test_courseware which fails due to invalid future date
Showing
- cms/djangoapps/contentstore/management/commands/delete_orphans.py 42 additions, 0 deletions...goapps/contentstore/management/commands/delete_orphans.py
- cms/djangoapps/contentstore/management/commands/tests/test_delete_orphans.py 40 additions, 0 deletions...entstore/management/commands/tests/test_delete_orphans.py
- cms/djangoapps/contentstore/tests/test_orphan.py 50 additions, 33 deletionscms/djangoapps/contentstore/tests/test_orphan.py
- cms/djangoapps/contentstore/views/item.py 17 additions, 6 deletionscms/djangoapps/contentstore/views/item.py
- common/lib/xmodule/xmodule/modulestore/mongo/draft.py 19 additions, 6 deletionscommon/lib/xmodule/xmodule/modulestore/mongo/draft.py
- common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py 1 addition, 1 deletion...odule/xmodule/modulestore/tests/test_mixed_modulestore.py
Loading
Please register or sign in to comment