AttributeError exception when viewing child IP addresses #5472

Closed
opened 2025-12-29 19:28:27 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Oct 5, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.0.5

Python version

3.7

Steps to Reproduce

  1. Create prefix 192.0.2.0/24
  2. Create IP addresses 192.0.2.[1-100]/24 using bulk create
  3. View the prefix and select the "IP addresses" tab

Expected Behavior

The table of child IP addresses should be rendered.

Observed Behavior

An AttributeError exception is raised:

AttributeError at /ipam/prefixes/78/ip-addresses/
'tuple' object has no attribute 'pk'
Originally created by @jeremystretch on GitHub (Oct 5, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.0.5 ### Python version 3.7 ### Steps to Reproduce 1. Create prefix 192.0.2.0/24 2. Create IP addresses 192.0.2.[1-100]/24 using bulk create 3. View the prefix and select the "IP addresses" tab ### Expected Behavior The table of child IP addresses should be rendered. ### Observed Behavior An AttributeError exception is raised: ``` AttributeError at /ipam/prefixes/78/ip-addresses/ 'tuple' object has no attribute 'pk' ```
adam added the type: bugstatus: accepted labels 2025-12-29 19:28:27 +01:00
adam closed this issue 2025-12-29 19:28:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5472