Update with suggestions:

- Add ADR describing Plugin Contexts
- Remove app-specific constants from framework-level code
- Add dashboard constants to student app with README
This commit is contained in:
Matt Tuchfarber
2020-03-13 15:14:37 -04:00
parent bd9dbdf7de
commit fc3bc032b9
5 changed files with 80 additions and 9 deletions

View File

@@ -77,11 +77,6 @@ class PluginSignals(object):
RELATIVE_PATH = u'relative_path'
DEFAULT_RELATIVE_PATH = u'signals'
class PluginContextsViews(object):
COURSE_DASHBOARD = u'course_dashboard'
class PluginContexts(object):
"""
The PluginContexts enum defines dictionary field names (and defaults)
@@ -89,6 +84,3 @@ class PluginContexts(object):
additional views it would like to add context into.
"""
CONFIG = u"context_config"
VIEWS = PluginContextsViews