lms.djangoapps.course_wiki.plugins package#

Subpackages#

Submodules#

lms.djangoapps.course_wiki.plugins.course_app module#

Module with the course app configuration for the Wiki.

class lms.djangoapps.course_wiki.plugins.course_app.WikiCourseApp#

Bases: CourseApp

Course app for the Wiki.

app_id: str = 'wiki'#
description: str = 'Enable learners to access, and collaborate on course-related information.'#
classmethod get_allowed_operations(course_key: CourseKey, user: User | None = None) Dict[str, bool]#

Returns the operations you can perform on the wiki.

classmethod is_available(course_key: CourseKey) bool#

Returns if the app is available for the course.

The wiki is available for all courses or none of them depending on the Django setting.

classmethod is_enabled(course_key: CourseKey) bool#

Returns if the wiki is enabled for the course.

name: str = 'Wiki'#
classmethod set_enabled(course_key: CourseKey, enabled: bool, user: User) bool#

Enabled/disables the wiki tab in the course.

Module contents#