DRF change: replace detail_route with action #1816

Closed
opened 2025-12-29 17:19:23 +01:00 by adam · 1 comment
Owner

Originally created by @jeremystretch on GitHub (Jun 26, 2018).

Issue type

[x] Feature request
[ ] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: 2.3.4

Description

The list_route and detail_route decorators in Django REST Framework are being replaced with the action decorator. Need to update all instances.

Originally created by @jeremystretch on GitHub (Jun 26, 2018). ### Issue type [x] Feature request <!-- An enhancement of existing functionality --> [ ] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> ### Environment * Python version: 3.5.2 * NetBox version: 2.3.4 ### Description The `list_route` and `detail_route` decorators in Django REST Framework [are being replaced](http://www.django-rest-framework.org/topics/3.8-announcement/) with the `action` decorator. Need to update all instances.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 17:19:23 +01:00
adam closed this issue 2025-12-29 17:19:23 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jun 29, 2018):

Fixed in b9bdd66 on develop-2.4

@jeremystretch commented on GitHub (Jun 29, 2018): Fixed in b9bdd66 on `develop-2.4`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1816