The old folder name is somewhat confusing, because the folder contains shims to _compensate for the removal of sys.path hacks_, but does not contain the sys.path hacks themselves. Furthermore, this import_shims/ system could also be used for other import path changes, such as turning the locally-installed packages in common/lib/ into regular, importable modules (e.g. `from common.lib.xmodule import abc` instead of `from xmodule import abc`). So, a name that is not specific to the sys.path hacks may be better in the medium-to-long term. Along the same lines, we also rename SysPathHackWarning to DeprecatedEdxPlatformImportWarning.
6 lines
242 B
ReStructuredText
6 lines
242 B
ReStructuredText
This is a transitional folder as we move away from modifying ``sys.path`` in django config.
|
|
|
|
See `the ADR`_ for more details.
|
|
|
|
.. _the ADR: https://github.com/edx/edx-platform/blob/master/docs/decisions/0007-sys-path-modification-removal.rst
|