Attempting to edit a UserKey via the admin UI yields a FieldError #906

Closed
opened 2025-12-29 16:26:51 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (May 2, 2017).

Issue type: Bug report

Python version: 2.7.6
NetBox version: v2.0-beta3

Attempting to edit a UserKey via the admin UI yields an error:

FieldError at /admin/secrets/userkey/<pk>/change/

'user' cannot be specified for UserKey model form as it is a non-editable field. Check fields/fieldsets/exclude attributes of class UserKeyAdmin.
Originally created by @jeremystretch on GitHub (May 2, 2017). ### Issue type: Bug report **Python version:** 2.7.6 **NetBox version:** v2.0-beta3 Attempting to edit a UserKey via the admin UI yields an error: ``` FieldError at /admin/secrets/userkey/<pk>/change/ 'user' cannot be specified for UserKey model form as it is a non-editable field. Check fields/fieldsets/exclude attributes of class UserKeyAdmin. ```
adam added the type: bug label 2025-12-29 16:26:51 +01:00
adam closed this issue 2025-12-29 16:26:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#906