Create a product card that will show a product details on the home page. The card will contains few details like product name, type, price and image.
We will need to setup a storage for image as well, so we will look into the details of image later on.
For now create a product template under template and that will be included later on into the index.html or any other template using jinja2 formatting.
Create a product card that will show a product details on the home page. The card will contains few details like product name, type, price and image. We will need to setup a storage for image as well, so we will look into the details of image later on.
For now create a product template under template and that will be included later on into the index.html or any other template using jinja2 formatting.
References
https://stackoverflow.com/questions/10985950/how-do-you-insert-a-template-into-another-template https://devsheet.com/include-template-django/ https://docs.djangoproject.com/en/4.2/ref/templates/builtins/