Skip to content

Getting all Manufacturer Data within a Custom Script #18654

Closed Answered by chris240189
Luza988 asked this question in Help Wanted!
Discussion options

You must be logged in to vote

did you try using the nb-shell to explore the available models?

if you start nb-shell you can do a lsmodels() and see all available models. Manufacturer is one of them.

You can do a Manufacturer.objects.all() to get all the manufacturers, when you import Manufacturer, just like you do with Device.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@aascedu
Comment options

@Luza988
Comment options

@aascedu
Comment options

Answer selected by Luza988
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants