Manage user-generated fixtures from the Django admin to keep audit trails, share reproducible scenarios, and seed fresh environments with known records.
admin:user_data view defined in core/user_data.py).core/templates/admin/data_list.html, providing a searchable table of exported fixtures grouped by app and model.Use the filter field at the top of the table to narrow the list by any fragment of the app name, model name, or entity label. The table updates instantly without a full page refresh.
The view assembles sections for every model that exposes the is_user_data flag (core/user_data.py lines 615-652). Each entry shows:
core).RFID tag).If no records are currently flagged as user data, the view displays “None available”.
Click Export above the table to download a ZIP archive that contains every recorded user datum. The archive is generated by _user_data_export in core/user_data.py and includes one JSON fixture per object.
user_data_<user-id>.zip so you can track who generated the bundle._data_dir in core/user_data.py.To restore user data into another environment:
.zip files only)._user_data_import in core/user_data.py.The import process loads each fixture and, when available, re-applies the is_user_data flag (see _load_fixture in core/user_data.py). Successful imports redirect back to the list view with the updated objects.
Several admin surfaces let you toggle whether an object should be captured as user data:
Toggle selected User Data bulk action in the Django admin (core/admin.py lines 3026-3055).pages/templates/admin/favorite_list.html).is_user_data switch, saving the change updates the fixture immediately (core/admin.py lines 1857-1902).When enabled, Arthexis writes a JSON fixture next to other managed data in data/<username>/. Disabling user data removes the fixture, and the entry disappears from the list after the next refresh.
is_user_data=True. You can verify this on the object change form or by checking the favorites list._user_allows_user_data (line 43) blocks toggles for profiles without permission. Use a service or admin account to perform the action, or delegate through the operate_as relationship.