Remove forms from the browsable API #1255

Closed
opened 2025-12-29 16:30:48 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Sep 20, 2017).

Issue type

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

Environment

  • Python version: 3.4.3
  • NetBox version: 2.1.4

Description

The browsable version of NetBox's API (which comes built-into Django REST Framework) includes embedded forms at the bottom of each page for creating and updating objects. While these can be convenient, they are primarily for development purposes and should not be included with the production application. Further, some of these forms cause performance problems, as many extraneous database queries are made to populate form field options.

Originally created by @jeremystretch on GitHub (Sep 20, 2017). ### Issue type [ ] Feature request <!-- Requesting the implementation of a new feature --> [x] Bug report <!-- Reporting unexpected or erroneous behavior --> [ ] Documentation <!-- Proposing a modification to the documentation --> ### Environment * Python version: 3.4.3 * NetBox version: 2.1.4 ### Description The browsable version of NetBox's API (which comes built-into Django REST Framework) includes embedded forms at the bottom of each page for creating and updating objects. While these can be convenient, they are primarily for development purposes and should not be included with the production application. Further, some of these forms cause performance problems, as many extraneous database queries are made to populate form field options.
adam added the type: bug label 2025-12-29 16:30:48 +01:00
adam closed this issue 2025-12-29 16:30:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1255