/
githubmirror
/
edx-platform
Обзор
Документация
Войти
/
githubmirror
/
edx-platform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
release-ulmo
xmodule/edxnotes_utils.py
17 строк
334 B
Muhammad Umar Khan
Revert "Revert "refactor: move xmodule folder to root""
20 июн 2022, 16:20
Не верифицирован
20 июн 2022, 16:20
a389a9f
Код
Авторство
О чём код?
""" Utilities related to edXNotes. """ import sys def edxnotes(cls): """ Conditional decorator that loads edxnotes only when they exist. """ if "lms.djangoapps.edxnotes" in sys.modules: from lms.djangoapps.edxnotes.decorators import edxnotes as notes return notes(cls) else: return cls