netbox-acls icon indicating copy to clipboard operation
netbox-acls copied to clipboard

Use default absolute model URL

Open alehaa opened this issue 3 months ago • 0 comments

Pull Request

Related Issue

None

New Behavior

Starting with NetBox version 4.2.4 a default implementation of the get_absolute_url() method is available. This PR removes the custom code to use the default implementation instead.

Contrast to Current Behavior

See above

Discussion: Benefits and Drawbacks

This PR aims to utilize more of the NetBox core code to reduce complexity and enhance maintainability.

Changes to the Documentation

None

Proposed Release Note Entry

Switch to default implementation of the get_absolute_url() method.

Double Check

  • [x] I have explained my PR according to the information in the comments or in a linked issue.
  • [x] My PR targets the dev branch.

alehaa avatar Aug 17 '25 14:08 alehaa