I two model classes
class Product(models.Model)
name = ...
class Part(models.Model)
product = models.ForeignKey(Product, on_delete= models.CASCADE,default=1)
In my database I already have populated a number of parts.
Is there a way to change Admin to allow a drop down/select of parts for the product I'm looking at,
e.g I want to assign a foreign key relationship of parts A, B, C, F to the Product I'm looking at the admin page for Proudct X.
I have seen the inline option, but I don't want to add new parts, I just want to be able to associate the parts with the product I'm looking at
Thanks in advance for the help!