Added
- Management command
remove_orphaned_netbox_attachmentsto report and clean up orphaned attachment data (issue #22): orphaned files on disk underMEDIA_ROOT/netbox-attachments/(including leftovers from renamed/overwritten attachments) and unassignedNetBoxAttachmentrecords. It is a dry-run by default; deletion requires--deleteand is guarded by an interactive confirmation (skippable with--no-input). Supports--files-only/--records-only, a--min-ageguard that skips freshly written files, and-e/--excludemasks. Verbose mode (-v2) lists each affected file/record plus a per-object-type assignment breakdown. "Broken" attachments (record present, file missing) are reported but never deleted. Attachments tied to disabled/uninstalled plugins are never garbage-collected (the command keys off database rows, not model resolvability);--list-brokenreports them for manual review. See docs/usage.md.
Full Changelog: v11.2.2...v11.2.3