Skip to content

Commit

Permalink
Merge pull request #94 from learningequality/quiz_kind
Browse files Browse the repository at this point in the history
Add quiz kind.
  • Loading branch information
rtibbles authored Oct 5, 2021
2 parents 06b39e6 + de78804 commit 3d28235
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions le_utils/constants/content_kinds.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
SLIDESHOW = "slideshow"
H5P = "h5p"
ZIM = "zim"
QUIZ = "quiz"

choices = (
(TOPIC, "Topic"),
Expand All @@ -28,6 +29,7 @@
(SLIDESHOW, "Slideshow"),
(H5P, "H5P"),
(ZIM, "Zim"),
(QUIZ, "Quiz"),
)

""" File Format (extension) to Content Kind Mapping """
Expand Down
3 changes: 3 additions & 0 deletions le_utils/resources/kindlookup.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
},
"zim": {
"name": "zim"
},
"quiz": {
"name": "quiz"
}
}

0 comments on commit 3d28235

Please sign in to comment.