Skip to content

Commit 6364cc6

Browse files
committed
fix: correct setting name
1 parent dec74bd commit 6364cc6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • openedx/core/djangoapps/course_date_signals

openedx/core/djangoapps/course_date_signals/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
from openedx.core.djangoapps.catalog.models import CatalogIntegration
1212

1313
MIN_DURATION = timedelta(
14-
weeks=getattr(settings, 'COURSE_DURATION_MIN_WEEKS', 4)
14+
weeks=getattr(settings, 'COURSE_ACCESS_DURATION_MIN_WEEKS', 4)
1515
)
1616
MAX_DURATION = timedelta(
17-
weeks=getattr(settings, 'COURSE_DURATION_MAX_WEEKS', 18)
17+
weeks=getattr(settings, 'COURSE_ACCESS_DURATION_MAX_WEEKS', 18)
1818
)
1919

2020

0 commit comments

Comments
 (0)