I
I
Ivan Babiy2017-03-08 17:08:21
Django
Ivan Babiy, 2017-03-08 17:08:21

How is a product element created in django?

Now I'm creating a store for my game project. This is my first experience in such an act, so the question arose. There is, let's say I have one page, which contains 10 separate products. The question arises, how is the creation of this product? That is, I have a model that is created from a background, a replaceable image, text and a price, and after that this template is repeatedly placed on the page, but with different pictures, text. Or how does it work? Can you please tell

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
devalone, 2017-03-08
@roblip

Follow the tutorial in the official documentation and you will understand everything

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question