Add org-course (and any future KEY_FIELDS) to FBE django admin pages
This commit is contained in:
@@ -15,7 +15,7 @@ from .models import ContentTypeGatingConfig
|
||||
class ContentTypeGatingConfigAdmin(StackedConfigModelAdmin):
|
||||
fieldsets = (
|
||||
('Context', {
|
||||
'fields': ('site', 'org', 'course'),
|
||||
'fields': ContentTypeGatingConfig.KEY_FIELDS,
|
||||
'description': _(
|
||||
'These define the context to enable course duration limits on. '
|
||||
'If no values are set, then the configuration applies globally. '
|
||||
|
||||
@@ -15,7 +15,7 @@ from .models import CourseDurationLimitConfig
|
||||
class CourseDurationLimitConfigAdmin(StackedConfigModelAdmin):
|
||||
fieldsets = (
|
||||
('Context', {
|
||||
'fields': ('site', 'org', 'course'),
|
||||
'fields': CourseDurationLimitConfig.KEY_FIELDS,
|
||||
'description': _(
|
||||
'These define the context to enable course duration limits on. '
|
||||
'If no values are set, then the configuration applies globally. '
|
||||
|
||||
Reference in New Issue
Block a user