T
T
Tash1moto2016-02-22 18:58:32
Django
Tash1moto, 2016-02-22 18:58:32

How to link django tables?

Hello everyone
How can I implement the following scheme?
There is a model "IMGS" with images, there are 50+ of them
. There is an empty model for goods.
When adding a product in the admin panel, you need to add (several) images 10+ for the product, from the 'IMGS' model
Show an example, I can't find a similar problem on the Internet, much less a solution

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2016-02-22
@Tash1moto

Add an M2M field on IMGS to the product model.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question