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

Closes #13427: Public model registration #14152

Merged
merged 3 commits into from
Nov 3, 2023
Merged

Conversation

jeremystretch
Copy link
Member

Closes: #13427

  • Record any models not having _netbox_private = True in registry['models']
  • Introduce a proxy model for ContentType with a custom ContentTypeManager
  • ContentTypeManager provides a public() method which returns all ContentTypes matching public models
  • Update imports of ContentType to use the proxy model where public() is needed

@jeremystretch jeremystretch merged commit 8dcbd66 into feature Nov 3, 2023
8 checks passed
@jeremystretch jeremystretch deleted the 13427-public-models branch November 3, 2023 14:33
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants