Error on import into split

if import restores a deleted draft element which was never published
PLAT_297
This commit is contained in:
Don Mitchell
2014-11-19 14:53:22 -05:00
committed by Renzo Lucioni
parent 7d36d11b35
commit 21608f340c
3 changed files with 57 additions and 13 deletions

View File

@@ -31,8 +31,6 @@ from xmodule.modulestore.xml_exporter import export_to_xml
from .access import has_course_access
from extract_tar import safetar_extractall
from student import auth
from student.roles import CourseInstructorRole, CourseStaffRole, GlobalStaff
from util.json_request import JsonResponse
from util.views import ensure_valid_course_key