Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove forms from the browsable API #1522

Closed
jeremystretch opened this issue Sep 20, 2017 · 0 comments
Closed

Remove forms from the browsable API #1522

jeremystretch opened this issue Sep 20, 2017 · 0 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@jeremystretch
Copy link
Member

jeremystretch commented 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.

@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label Sep 20, 2017
lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

1 participant