Add a deprecation warning for when courseware is imported incorrectly
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#pylint: disable=missing-docstring
|
||||
import warnings
|
||||
|
||||
if __name__ == 'courseware':
|
||||
warnings.warn("Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported", DeprecationWarning)
|
||||
|
||||
Reference in New Issue
Block a user