[PR #14881] [MERGED] Fixes: #14840 - Forces API to use django user model instead of proxy model #14474

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/14881
Author: @DanSheps
Created: 1/20/2024
Status: Merged
Merged: 2/5/2024
Merged by: @jeremystretch

Base: developHead: 14840-fix_netboxusers_reverse


📝 Commits (8)

  • df85cc9 Fixes: #14840 - Forces API to use proxy model
  • 1d784cf Update tests to use proxy model
  • 773daed Revert "Update tests to use proxy model"
  • 3ab8caa Revert "Fixes: #14840 - Forces API to use proxy model"
  • 15df808 More realistic change to resole issue with netboxusers-list
  • 979b714 Revert "More realistic change to resole issue with netboxusers-list"
  • 8be1f9d Fixes: #14840 - Better fix for netboxusers-list
  • 1990a9c Swap model for serializer from proxy model

📊 Changes

2 files changed (+9 additions, -0 deletions)

View changed files

📝 netbox/utilities/api.py (+7 -0)
📝 netbox/utilities/utils.py (+2 -0)

📄 Description

Fixes: #14840 - Forces API to use django user model instead of proxy model

  • Swap the model name in get_viewname for only NetBoxUser and NetBoxGroup

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/14881 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 1/20/2024 **Status:** ✅ Merged **Merged:** 2/5/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `14840-fix_netboxusers_reverse` --- ### 📝 Commits (8) - [`df85cc9`](https://github.com/netbox-community/netbox/commit/df85cc967c2e951cb02c8ea3b9074dc6bd7dc301) Fixes: #14840 - Forces API to use proxy model - [`1d784cf`](https://github.com/netbox-community/netbox/commit/1d784cfe5d689a00ae3c75edc56ce226e62e8fc3) Update tests to use proxy model - [`773daed`](https://github.com/netbox-community/netbox/commit/773daedf8cd75d8c181477b5d4a2b91e73e57606) Revert "Update tests to use proxy model" - [`3ab8caa`](https://github.com/netbox-community/netbox/commit/3ab8caa6154af6c074993a1c515842d39f3fb8e2) Revert "Fixes: #14840 - Forces API to use proxy model" - [`15df808`](https://github.com/netbox-community/netbox/commit/15df8082aafbebf32c932c4c38b970851492eea8) More realistic change to resole issue with netboxusers-list - [`979b714`](https://github.com/netbox-community/netbox/commit/979b71446d957d113926577fc3ad379bda50d222) Revert "More realistic change to resole issue with netboxusers-list" - [`8be1f9d`](https://github.com/netbox-community/netbox/commit/8be1f9d5a17c76a04d48647640035e77187c7ce0) Fixes: #14840 - Better fix for netboxusers-list - [`1990a9c`](https://github.com/netbox-community/netbox/commit/1990a9c28c8ce291501a26b59defadca3720626a) Swap model for serializer from proxy model ### 📊 Changes **2 files changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/utilities/api.py` (+7 -0) 📝 `netbox/utilities/utils.py` (+2 -0) </details> ### 📄 Description ### Fixes: #14840 - Forces API to use django user model instead of proxy model * Swap the model name in get_viewname for only NetBoxUser and NetBoxGroup --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:24:40 +01:00
adam closed this issue 2025-12-29 23:24: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#14474