Files
edx-platform/lms/djangoapps/teams/__init__.py
Peter Fogg 38fb6eaede Add signals for user's discussion activity.
These signals are caught by the Teams app and used to update
`last_activity_at` on both teams and individual users.

TNL-2497
2015-08-26 12:07:54 -04:00

16 lines
311 B
Python

"""
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