The Django admin supports import and export for these board-related models:
Role typesPersonsBoard nodesBoard assignments
Use the admin import/export actions from the matching model pages.
Export in this order to keep the related IDs easy to follow:
Role typesPersonsBoard nodesBoard assignments
Import in this order because later models depend on earlier ones:
Role typesPersonsBoard nodesBoard assignments
- Keep the
idcolumn unchanged when moving data between environments. The board import files use IDs to reconnect foreign keys. Board assignmentsreferencesperson,node, androleby ID, so those records must exist before assignments are imported.Board nodesreferencesparentby ID. Root nodes should have an emptyparentvalue.- If a
Board nodesimport file contains parent/child rows together, place parent rows before their children. - If you are updating an existing site, import the full related set from the same export batch to avoid broken references.