Remove legacy slug-based URL redirection #5753

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

Originally created by @jeremystretch on GitHub (Dec 9, 2021).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Prior to NetBox v2.11, the following models used slugs in their URL paths:

  • circuits.Provider
  • dcim.Site
  • tenancy.Tenant

In v2.11, these were standardized to use numeric keys like all other NetBox models, however an automatic redirection was left in place for backward compatibility (see #6097).

This issue proposes removing this redirection functionality as it is no longer needed.

Justification

Slugs are no longer used to identify objects in URL paths, and ample time has been provided between releases for users to update any external systems referencing NetBox by these legacy paths.

Originally created by @jeremystretch on GitHub (Dec 9, 2021). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Prior to NetBox v2.11, the following models used slugs in their URL paths: * circuits.Provider * dcim.Site * tenancy.Tenant In v2.11, these were standardized to use numeric keys like all other NetBox models, however an automatic redirection was left in place for backward compatibility (see #6097). This issue proposes removing this redirection functionality as it is no longer needed. ### Justification Slugs are no longer used to identify objects in URL paths, and ample time has been provided between releases for users to update any external systems referencing NetBox by these legacy paths.
adam added the status: acceptedtype: deprecation labels 2025-12-29 19:32:13 +01:00
adam closed this issue 2025-12-29 19:32:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5753