Update nbshell management command #11423

Closed
opened 2025-12-29 21:45:03 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jul 29, 2025).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

The nbshell management command is a wrapper for Django's stock shell. It's been a while since this has seen any substantial change, and is probably overdue for some updates. Some immediate items:

  • Move APPS to constants.py
  • Remove obsolete entries from EXCLUDE_MODELS
  • List installed plugins on init
  • Extend lsmodels() to include plugin models

Justification

Opportunistic cleanup

Originally created by @jeremystretch on GitHub (Jul 29, 2025). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes The `nbshell` management command is a wrapper for Django's stock `shell`. It's been a while since this has seen any substantial change, and is probably overdue for some updates. Some immediate items: - Move `APPS` to `constants.py` - Remove obsolete entries from `EXCLUDE_MODELS` - List installed plugins on init - Extend `lsmodels()` to include plugin models ### Justification Opportunistic cleanup
adam added the status: acceptedtype: housekeeping labels 2025-12-29 21:45:03 +01:00
adam closed this issue 2025-12-29 21:45:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11423