lms package#
Subpackages#
- lms.djangoapps package
- Subpackages
- lms.djangoapps.badges package
- lms.djangoapps.branding package
- lms.djangoapps.bulk_email package
- Submodules
- lms.djangoapps.bulk_email.api module
- lms.djangoapps.bulk_email.apps module
- lms.djangoapps.bulk_email.data module
- lms.djangoapps.bulk_email.forms module
- lms.djangoapps.bulk_email.message_types module
- lms.djangoapps.bulk_email.messages module
- lms.djangoapps.bulk_email.models module
- lms.djangoapps.bulk_email.models_api module
- lms.djangoapps.bulk_email.policies module
- lms.djangoapps.bulk_email.signals module
- lms.djangoapps.bulk_email.tasks module
- lms.djangoapps.bulk_email.toggles module
- lms.djangoapps.bulk_email.urls module
- lms.djangoapps.bulk_email.views module
- Module contents
- lms.djangoapps.bulk_enroll package
- lms.djangoapps.bulk_user_retirement package
- lms.djangoapps.ccx package
- Subpackages
- Submodules
- lms.djangoapps.ccx.apps module
- lms.djangoapps.ccx.custom_exception module
- lms.djangoapps.ccx.models module
- lms.djangoapps.ccx.modulestore module
- lms.djangoapps.ccx.overrides module
- lms.djangoapps.ccx.permissions module
- lms.djangoapps.ccx.plugins module
- lms.djangoapps.ccx.tasks module
- lms.djangoapps.ccx.urls module
- lms.djangoapps.ccx.utils module
- lms.djangoapps.ccx.views module
- Module contents
- lms.djangoapps.certificates package
- Subpackages
- Submodules
- lms.djangoapps.certificates.api module
- lms.djangoapps.certificates.apps module
- lms.djangoapps.certificates.config module
- lms.djangoapps.certificates.data module
- lms.djangoapps.certificates.generation module
- lms.djangoapps.certificates.generation_handler module
- lms.djangoapps.certificates.models module
- lms.djangoapps.certificates.permissions module
- lms.djangoapps.certificates.services module
- lms.djangoapps.certificates.signals module
- lms.djangoapps.certificates.tasks module
- lms.djangoapps.certificates.urls module
- lms.djangoapps.certificates.utils module
- Module contents
- lms.djangoapps.commerce package
- Subpackages
- Submodules
- lms.djangoapps.commerce.apps module
- lms.djangoapps.commerce.constants module
- lms.djangoapps.commerce.exceptions module
- lms.djangoapps.commerce.http module
- lms.djangoapps.commerce.models module
- lms.djangoapps.commerce.signals module
- lms.djangoapps.commerce.utils module
- Module contents
- lms.djangoapps.course_api package
- Subpackages
- Submodules
- lms.djangoapps.course_api.api module
- lms.djangoapps.course_api.exceptions module
- lms.djangoapps.course_api.forms module
- lms.djangoapps.course_api.permissions module
- lms.djangoapps.course_api.serializers module
- lms.djangoapps.course_api.urls module
- lms.djangoapps.course_api.views module
- Module contents
- lms.djangoapps.course_blocks package
- lms.djangoapps.course_goals package
- lms.djangoapps.course_home_api package
- Subpackages
- Submodules
- lms.djangoapps.course_home_api.apps module
- lms.djangoapps.course_home_api.models module
- lms.djangoapps.course_home_api.serializers module
- lms.djangoapps.course_home_api.toggles module
- lms.djangoapps.course_home_api.urls module
- lms.djangoapps.course_home_api.utils module
- Module contents
- lms.djangoapps.course_wiki package
- lms.djangoapps.courseware package
- Subpackages
- Submodules
- lms.djangoapps.courseware.access module
- lms.djangoapps.courseware.access_response module
- lms.djangoapps.courseware.access_utils module
- lms.djangoapps.courseware.block_render module
- lms.djangoapps.courseware.config module
- lms.djangoapps.courseware.constants module
- lms.djangoapps.courseware.context_processor module
- lms.djangoapps.courseware.course_tools module
- lms.djangoapps.courseware.courses module
- lms.djangoapps.courseware.courseware_access_exception module
- lms.djangoapps.courseware.date_summary module
- lms.djangoapps.courseware.entrance_exams module
- lms.djangoapps.courseware.exceptions module
- lms.djangoapps.courseware.field_overrides module
- lms.djangoapps.courseware.fields module
- lms.djangoapps.courseware.masquerade module
- lms.djangoapps.courseware.middleware module
- lms.djangoapps.courseware.model_data module
- lms.djangoapps.courseware.models module
- lms.djangoapps.courseware.permissions module
- lms.djangoapps.courseware.plugins module
- lms.djangoapps.courseware.rules module
- lms.djangoapps.courseware.self_paced_overrides module
- lms.djangoapps.courseware.services module
- lms.djangoapps.courseware.student_field_overrides module
- lms.djangoapps.courseware.tabs module
- lms.djangoapps.courseware.toggles module
- lms.djangoapps.courseware.transformers module
- lms.djangoapps.courseware.user_state_client module
- lms.djangoapps.courseware.utils module
- Module contents
- lms.djangoapps.coursewarehistoryextended package
- lms.djangoapps.debug package
- lms.djangoapps.discussion package
- Subpackages
- Submodules
- lms.djangoapps.discussion.apps module
- lms.djangoapps.discussion.exceptions module
- lms.djangoapps.discussion.plugins module
- lms.djangoapps.discussion.tasks module
- lms.djangoapps.discussion.toggles module
- lms.djangoapps.discussion.toggles_utils module
- lms.djangoapps.discussion.urls module
- lms.djangoapps.discussion.views module
- Module contents
- lms.djangoapps.edxnotes package
- Submodules
- lms.djangoapps.edxnotes.api_urls module
- lms.djangoapps.edxnotes.decorators module
- lms.djangoapps.edxnotes.exceptions module
- lms.djangoapps.edxnotes.helpers module
- lms.djangoapps.edxnotes.plugins module
- lms.djangoapps.edxnotes.urls module
- lms.djangoapps.edxnotes.views module
- Module contents
- lms.djangoapps.email_marketing package
- lms.djangoapps.experiments package
- Submodules
- lms.djangoapps.experiments.apps module
- lms.djangoapps.experiments.factories module
- lms.djangoapps.experiments.filters module
- lms.djangoapps.experiments.flags module
- lms.djangoapps.experiments.models module
- lms.djangoapps.experiments.permissions module
- lms.djangoapps.experiments.routers module
- lms.djangoapps.experiments.serializers module
- lms.djangoapps.experiments.stable_bucketing module
- lms.djangoapps.experiments.urls module
- lms.djangoapps.experiments.utils module
- lms.djangoapps.experiments.views module
- lms.djangoapps.experiments.views_custom module
- Module contents
- lms.djangoapps.gating package
- lms.djangoapps.grades package
- Subpackages
- Submodules
- lms.djangoapps.grades.api module
- lms.djangoapps.grades.apps module
- lms.djangoapps.grades.constants module
- lms.djangoapps.grades.context module
- lms.djangoapps.grades.course_data module
- lms.djangoapps.grades.course_grade module
- lms.djangoapps.grades.course_grade_factory module
- lms.djangoapps.grades.events module
- lms.djangoapps.grades.exceptions module
- lms.djangoapps.grades.grade_utils module
- lms.djangoapps.grades.models module
- lms.djangoapps.grades.models_api module
- lms.djangoapps.grades.scores module
- lms.djangoapps.grades.services module
- lms.djangoapps.grades.subsection_grade module
- lms.djangoapps.grades.subsection_grade_factory module
- lms.djangoapps.grades.tasks module
- lms.djangoapps.grades.transformer module
- lms.djangoapps.grades.util_services module
- Module contents
- lms.djangoapps.instructor package
- Subpackages
- Submodules
- lms.djangoapps.instructor.access module
- lms.djangoapps.instructor.apps module
- lms.djangoapps.instructor.constants module
- lms.djangoapps.instructor.enrollment module
- lms.djangoapps.instructor.handlers module
- lms.djangoapps.instructor.message_types module
- lms.djangoapps.instructor.permissions module
- lms.djangoapps.instructor.services module
- lms.djangoapps.instructor.tasks module
- lms.djangoapps.instructor.toggles module
- lms.djangoapps.instructor.urls module
- Module contents
- lms.djangoapps.instructor_analytics package
- lms.djangoapps.instructor_task package
- Subpackages
- Submodules
- lms.djangoapps.instructor_task.api module
- lms.djangoapps.instructor_task.api_helper module
- lms.djangoapps.instructor_task.apps module
- lms.djangoapps.instructor_task.data module
- lms.djangoapps.instructor_task.exceptions module
- lms.djangoapps.instructor_task.models module
- lms.djangoapps.instructor_task.subtasks module
- lms.djangoapps.instructor_task.tasks module
- lms.djangoapps.instructor_task.tasks_base module
- lms.djangoapps.instructor_task.views module
- Module contents
- lms.djangoapps.learner_dashboard package
- lms.djangoapps.learner_home package
- Subpackages
- Submodules
- lms.djangoapps.learner_home.serializers module
- lms.djangoapps.learner_home.test_serializers module
- lms.djangoapps.learner_home.test_utils module
- lms.djangoapps.learner_home.test_views module
- lms.djangoapps.learner_home.test_waffle module
- lms.djangoapps.learner_home.urls module
- lms.djangoapps.learner_home.utils module
- lms.djangoapps.learner_home.views module
- lms.djangoapps.learner_home.waffle module
- Module contents
- lms.djangoapps.lms_initialization package
- lms.djangoapps.lms_xblock package
- lms.djangoapps.lti_provider package
- Subpackages
- Submodules
- lms.djangoapps.lti_provider.apps module
- lms.djangoapps.lti_provider.models module
- lms.djangoapps.lti_provider.outcomes module
- lms.djangoapps.lti_provider.signals module
- lms.djangoapps.lti_provider.signature_validator module
- lms.djangoapps.lti_provider.tasks module
- lms.djangoapps.lti_provider.urls module
- lms.djangoapps.lti_provider.users module
- lms.djangoapps.lti_provider.views module
- Module contents
- lms.djangoapps.mailing package
- lms.djangoapps.mfe_config_api package
- lms.djangoapps.mobile_api package
- Subpackages
- Submodules
- lms.djangoapps.mobile_api.apps module
- lms.djangoapps.mobile_api.context_processor module
- lms.djangoapps.mobile_api.decorators module
- lms.djangoapps.mobile_api.errors module
- lms.djangoapps.mobile_api.middleware module
- lms.djangoapps.mobile_api.mobile_platform module
- lms.djangoapps.mobile_api.models module
- lms.djangoapps.mobile_api.urls module
- lms.djangoapps.mobile_api.utils module
- Module contents
- lms.djangoapps.monitoring package
- lms.djangoapps.ora_staff_grader package
- Subpackages
- Submodules
- lms.djangoapps.ora_staff_grader.constants module
- lms.djangoapps.ora_staff_grader.errors module
- lms.djangoapps.ora_staff_grader.ora_api module
- lms.djangoapps.ora_staff_grader.serializers module
- lms.djangoapps.ora_staff_grader.urls module
- lms.djangoapps.ora_staff_grader.utils module
- lms.djangoapps.ora_staff_grader.views module
- Module contents
- lms.djangoapps.program_enrollments package
- Subpackages
- Submodules
- lms.djangoapps.program_enrollments.apps module
- lms.djangoapps.program_enrollments.constants module
- lms.djangoapps.program_enrollments.exceptions module
- lms.djangoapps.program_enrollments.models module
- lms.djangoapps.program_enrollments.signals module
- lms.djangoapps.program_enrollments.tasks module
- Module contents
- lms.djangoapps.rss_proxy package
- lms.djangoapps.static_template_view package
- lms.djangoapps.staticbook package
- lms.djangoapps.support package
- lms.djangoapps.survey package
- lms.djangoapps.teams package
- Subpackages
- Submodules
- lms.djangoapps.teams.api module
- lms.djangoapps.teams.api_urls module
- lms.djangoapps.teams.csv module
- lms.djangoapps.teams.errors module
- lms.djangoapps.teams.models module
- lms.djangoapps.teams.plugins module
- lms.djangoapps.teams.search_indexes module
- lms.djangoapps.teams.serializers module
- lms.djangoapps.teams.services module
- lms.djangoapps.teams.team_partition_scheme module
- lms.djangoapps.teams.toggles module
- lms.djangoapps.teams.urls module
- lms.djangoapps.teams.utils module
- lms.djangoapps.teams.views module
- lms.djangoapps.teams.waffle module
- Module contents
- lms.djangoapps.user_tours package
- lms.djangoapps.verify_student package
- Subpackages
- Submodules
- lms.djangoapps.verify_student.api module
- lms.djangoapps.verify_student.apps module
- lms.djangoapps.verify_student.emails module
- lms.djangoapps.verify_student.exceptions module
- lms.djangoapps.verify_student.image module
- lms.djangoapps.verify_student.message_types module
- lms.djangoapps.verify_student.models module
- lms.djangoapps.verify_student.services module
- lms.djangoapps.verify_student.ssencrypt module
- lms.djangoapps.verify_student.statuses module
- lms.djangoapps.verify_student.tasks module
- lms.djangoapps.verify_student.toggles module
- lms.djangoapps.verify_student.urls module
- lms.djangoapps.verify_student.utils module
- lms.djangoapps.verify_student.views module
- Module contents
- Submodules
- lms.djangoapps.utils module
- Module contents
- Subpackages
- lms.lib package
Submodules#
lms.celery module#
Import celery, load its settings from the django settings and auto discover tasks in all installed django apps.
Taken from: https://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
lms.docker_lms_gunicorn module#
gunicorn configuration file: http://docs.gunicorn.org/en/stable/configure.html
- lms.docker_lms_gunicorn.close_all_caches()#
Close the cache so that newly forked workers cannot accidentally share the socket with the processes they were forked from. This prevents a race condition in which one worker could get a cache response intended for another worker. We do this in a way that is safe for 1.4 and 1.8 while we still have some 1.4 installations.
- lms.docker_lms_gunicorn.post_fork(_server, _worker)#
- lms.docker_lms_gunicorn.pre_request(worker, req)#
lms.startup module#
Module for code that should run during LMS startup (deprecated)
- lms.startup.run()#
Executed during django startup
- NOTE: DO NOT add additional code to this method or this file! The Platform Team
is moving all startup code to more standard locations using Django best practices.
lms.urls module#
URLs for LMS
lms.wsgi_apache_lms module#
Module contents#
Celery needs to be loaded when the cms modules are so that task registration and discovery can work correctly.