Open rob-metalinkage opened 8 years ago
Must also initialise this post_save signals and load reasoning rules (and ontology dependencies) to remote store
Djangos loaddata and migrations seem to be not designed for this purpose - migrations are possible to hack - but just very nasty to try to persist in git without mixing up with autogenerated ones - seems to be designed for one-off data migration be experts, not automated setup. (django not so happy with data-driven functionality)
also not easy to see how to override defaults.
currently writing init endpoints that use ORM directly to get an idempotent initialisation to meet downstream module requirements.
Allow an app such as skosxl to define default mappings (to SKOS!) and have these used by serialiser automatically.