Skip to content

Commit

Permalink
Limit max questions per section to 20.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Jul 25, 2024
1 parent 6a2c4c6 commit 986f872
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kolibri/core/assets/src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,4 +197,4 @@ export const Presets = Object.freeze({

// This should be kept in sync with the value in
// kolibri/core/exams/constants.py
export const MAX_QUESTIONS_PER_QUIZ_SECTION = 50;
export const MAX_QUESTIONS_PER_QUIZ_SECTION = 20;
2 changes: 1 addition & 1 deletion kolibri/core/exams/constants.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This should be kept in sync with the value in
# kolibri/core/assets/src/constants.js
MAX_QUESTIONS_PER_QUIZ_SECTION = 50
MAX_QUESTIONS_PER_QUIZ_SECTION = 20

0 comments on commit 986f872

Please sign in to comment.