Skip to content

Commit

Permalink
onplatform 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 onplatform
training.
2. updated the fixtures to create permissions to create the onplatform training and an demo onplatform training.
  • Loading branch information
superryeti committed Mar 28, 2023
1 parent 1a22c45 commit 342f4a3
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 @@
{
"op_trainings": {
"version": "float",
"contents": [
{
"body": "string",
"order": "integer"
}
],
"quizzes": [
{
"question": "string",
"order": "string",
"choices": [
{
"body": "string",
"is_correct": "boolean"
}
]
}
]
}
}
Loading

0 comments on commit 342f4a3

Please sign in to comment.