Skip to content

Commit

Permalink
Course training with json examples and fixtures update
Browse files Browse the repository at this point in the history
1. Added example json files to create and update a Course
training.
2. updated the fixtures to create permissions to create the Course training and an demo Course training.
  • Loading branch information
superryeti committed Apr 10, 2023
1 parent 1e64507 commit a3ac3fc
Show file tree
Hide file tree
Showing 6 changed files with 575 additions and 0 deletions.
23 changes: 23 additions & 0 deletions physionet-django/static/sample/create.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"courses": {
"version": "float",
"contents": [
{
"body": "string",
"order": "integer"
}
],
"quizzes": [
{
"question": "string",
"order": "string",
"choices": [
{
"body": "string",
"is_correct": "boolean"
}
]
}
]
}
}
Loading

0 comments on commit a3ac3fc

Please sign in to comment.