Skip to content

When inheriting NetBoxModelSerializer without defining an override for the url attribute, an exception is thrown #17492

Closed
@DanSheps

Description

@DanSheps

Deployment Type

Self-hosted

NetBox Version

4.1.1

Python Version

3.12

Steps to Reproduce

  1. Create a plugin (per the plugin docs)
  2. Add plugin to NetBox
  3. View plugin's API where url is defined as a field but not overridden

Expected Behavior

url will have a proper link

Observed Behavior

Exception: ImproperlyConfigured at

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions