Import/export of templates and plans
Importing a plan depends on the template already being in, so import/export of templates take priority.
The main problem is the use of autogenerated primary keys.
Ideas:
-
Add natural keys to everything in dmpt
so templates can be exported. -
Import/Export of templates, in order of dependencies: -
1. A function/method for import/export -
2. A mangement command to use from the CLI -
3. API interface -
4. Frontend interface
-
-
Plan import/export: map question id's to natural keys.
Natural keys:
Originating site should be part of it. URIs?