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

Fixes #9653 - Add default_platform to DeviceType #11730

Conversation

kkthxbye-code
Copy link
Contributor

Fixes: #9653

Add default_platform to DeviceType. I think I got all the places updated and tests created. If anything is missing please let me know.

Only thing I was a little in doubt about is if the new field on the DeviceType model should have a related_name or not. In the current PR it doesn't, let me know if I should change it.

@kkthxbye-code kkthxbye-code modified the milestone: v3.5 Feb 10, 2023
@jeremystretch
Copy link
Member

Great work, thanks @kkthxbye-code!

Only thing I was a little in doubt about is if the new field on the DeviceType model should have a related_name or not.

I don't see a need for it; we can certainly add one later if the need arises.

@jeremystretch jeremystretch merged commit 944bda5 into netbox-community:feature Feb 13, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 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