Open jeremystretch opened 4 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.
We weren't able to get to this in time for v4.1 so I'll move it to the backlog.
Proposed Changes
Move the
register_models()
utility function out ofnetbox.models.features
to a location TBD.Justification
register_models()
requiresutilities.views.register_model_view()
. This leads to a circular import when attempting to importnetbox.models.features
from withinusers.models
becauseregister_model_view()
must ultimately resolve the User model (see PR #15976).