Standardize usage of GetReturnURLMixin #1524

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

Originally created by @jeremystretch on GitHub (Jan 31, 2018).

Issue type

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

Environment

  • Python version: 3.5.2
  • NetBox version: 2.2.8

Description

Some views still specify a default return URL and/or provide their own logic for determining where to redirect a user after an operation has been performed successfully. All views should be adapted to utilize GetReturnURLMixin, which allows for specifying a return_url query parameter.

Originally created by @jeremystretch on GitHub (Jan 31, 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.2.8 ### Description Some views still specify a default return URL and/or provide their own logic for determining where to redirect a user after an operation has been performed successfully. All views should be adapted to utilize GetReturnURLMixin, which allows for specifying a `return_url` query parameter.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 16:32:40 +01:00
adam closed this issue 2025-12-29 16:32:40 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1524