Files
edx-platform/openedx/core/djangoapps/plugins/constants.py
Manjinder Singh c76ed6ae45 Extracting plugin app from edx-platform (#24678)
* Moving plugins infrastructure to edx-django-utils
This PR extracts the code that enables plugins in edx-platform and puts it in edx-django-utils. This is done to allow other IDAS to add plugin functionality.
2020-08-12 07:48:53 -04:00

28 lines
852 B
Python

class ProjectType():
"""
The ProjectType enum defines the possible values for the Django Projects
that are available in the edx-platform. Plugin apps use these values to
declare explicitly which projects they are extending.
"""
LMS = 'lms.djangoapp'
CMS = 'cms.djangoapp'
class SettingsType():
"""
The SettingsType enum defines the possible values for the settings files
that are available for extension in the edx-platform. Plugin apps use these
values (in addition to ProjectType) to declare explicitly which settings
(in the specified project) they are extending.
See https://github.com/edx/edx-platform/master/lms/envs/docs/README.rst for
further information on each Settings Type.
"""
PRODUCTION = 'production'
COMMON = 'common'
DEVSTACK = 'devstack'
TEST = 'test'