Exercises#
Add#
Go the the admin page and add objects of the model Topic, Exercise and Solution. The create dialog contains help texts for each field.
CRUD#
Simple CRUD operations can be done via the intuitive admin page.
Loading data form storage#
You can load data form dump django databases and also edit them if you like.
Dump#
python manage.py dumpdata --format yaml --natural-primary --natural-foreign -e exercises.UserExercise -o OUTPUT.yaml exercises
Load#
python manage.py loaddata OUTPUT.yaml