7
7
7a-6662020-02-07 23:23:25
Django
7a-666, 2020-02-07 23:23:25

How to write a model for an unlimited number of pictures?

There are pictures in the product card and, for example, I want to add, say, up to 10 pictures to any product, how to implement this in models

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-02-07
@7a-666

Elementary, another model with ForeignKey on the product card.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question