Skip to content

Commit

Permalink
Merge pull request #172 from nelc/shadinaif/fix-default-course-effort
Browse files Browse the repository at this point in the history
fix: default course-effort-value
  • Loading branch information
shadinaif authored Dec 22, 2024
2 parents fb09f3f + 6835caa commit a28717f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def plugin_settings(settings: Any) -> None:
'fx_dashboard'
)

# Default Course EFfort
# Default Course Effort
settings.FX_DEFAULT_COURSE_EFFORT = getattr(
settings,
'FX_DEFAULT_COURSE_EFFORT',
'12',
12,
)
2 changes: 2 additions & 0 deletions tests/test_helpers/test_apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
('FX_CACHE_TIMEOUT_COURSE_ACCESS_ROLES', 60 * 30), # 30 minutes
('FX_CACHE_TIMEOUT_TENANTS_INFO', 60 * 60 * 2), # 2 hours
('FX_CACHE_TIMEOUT_VIEW_ROLES', 60 * 30), # 30 minutes
('FX_DASHBOARD_STORAGE_DIR', 'fx_dashboard'), # fx_dashboard
('FX_DEFAULT_COURSE_EFFORT', 12), # 12 hours
]


Expand Down

0 comments on commit a28717f

Please sign in to comment.