Files
edx-platform/lms/djangoapps/teams/__init__.py
M. Zulqarnain feaf5011c8 BOM-2287 : Pylint amnesty in teams,tests,survey and verify_student (#26305)
* lint amnesty in teams,tests,survey and verify_student
2021-02-03 18:15:03 +05:00

16 lines
366 B
Python

""" # lint-amnesty, pylint: disable=django-not-configured
Defines common methods shared by Teams classes
"""
from django.conf import settings
TEAM_DISCUSSION_CONTEXT = 'standalone'
def is_feature_enabled(course):
"""
Returns True if the teams feature is enabled.
"""
return settings.FEATURES.get('ENABLE_TEAMS', False) and course.teams_enabled