AttributeError when attempting to add a new interface to a device #1090

Closed
opened 2025-12-29 16:28:43 +01:00 by adam · 1 comment
Owner

Originally created by @jeremystretch on GitHub (Jul 11, 2017).

Issue type: Bug report

Python version: 2.7.6
NetBox version: v2.1-beta1

Attempting to add a new interface to a device yields a server error:

AttributeError at /dcim/devices/<pk>/interfaces/add/
This QueryDict instance is immutable

This is because we're attempting to modify the QueryDict directly. Using a copy works around this problem.

Originally created by @jeremystretch on GitHub (Jul 11, 2017). ### Issue type: Bug report **Python version:** 2.7.6 **NetBox version:** v2.1-beta1 Attempting to add a new interface to a device yields a server error: ``` AttributeError at /dcim/devices/<pk>/interfaces/add/ This QueryDict instance is immutable ``` This is because we're attempting to modify the QueryDict directly. Using a copy works around this problem.
adam added the type: bug label 2025-12-29 16:28:43 +01:00
adam closed this issue 2025-12-29 16:28:43 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 11, 2017):

Fixed in 74828e1

@jeremystretch commented on GitHub (Jul 11, 2017): Fixed in 74828e1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1090