Skip to content
Snippets Groups Projects
Unverified Commit f9ff332a authored by Calen Pennington's avatar Calen Pennington Committed by GitHub
Browse files

Merge pull request #19984 from cpennington/fbe/add-org-course-config

Add org-course (and any future KEY_FIELDS) to FBE django admin pages
parents d5c50533 c21e01e3
No related merge requests found
......@@ -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. '
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment