Monday, May 25, 2020

Re: Regarding rendering templates query

Okay I will try thankyou

On Mon, 25 May, 2020, 10:51 pm Joe Leger, <joeleger59@gmail.com> wrote:
Where you are rendering a single image, instead use a for loop to render all of your images like so:
{% for image in images %}
    <img src="{{ url 'image' }}" />
{% endfor %}


On Monday, May 25, 2020 at 11:10:47 AM UTC-4, Karthiki Chowdary wrote:
Hi,
 
 I have a query in in templates i was a beginner in django and python. Please help me out in this query .
 
For suppose i have a buttons on client browser like SKINCARE or HAIR CARE products if i click on that buttons it should display the logos of skin care products or hair care products. Rendering a single image is very easy if i want to render so many images how can i do that if yes with dictionaries how can i do that?? is this possible to render such huge amount of images or logos ?

thanks 

Kartheeki. 

Please help me out .

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/v00ENJFujtY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/079939dd-0c8d-460a-862c-c8f5b2cf7494%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOFEE40NvXGF08KSCssOkqM45bnej40_y_66qGiYJKEEZZaPPg%40mail.gmail.com.

No comments:

Post a Comment