Repository navigation
Fixed
- Import NetBox's own
users.models.Group, notdjango.contrib.auth.models.Group. NetBox 4.x replaces Django's stock auth Group entirely with its own model (separate table;User.groupspoints there) — importing the wrong one producedTypeError: Field 'id' expected a number but got <Group: ...>at real login time. - Drop the
is_staffassignment — NetBox'sUsermodel has no such field, so it was a silent no-op.
Testing
Added testapp/users/, a stand-in mirroring NetBox's actual Group/User shape, so the test suite now exercises the real import path this bug was in.
Full Changelog: v0.1.0...v0.1.1