import warnings warnings.warn("Importing commerce.exceptions instead of lms.djangoapps.commerce.exceptions is deprecated", stacklevel=2) from lms.djangoapps.commerce.exceptions import *