at the html file of your template folder, use something like
{{table1.skin_care1}}
{{table1.skin_care2}} etc
note skin_care1, skin_care etc are fields in your model table 'table1'
Dr. Chielo C. Ifeanyi
Chief Programmer,
Chief Programmer,
Head Webometrics Section
ICT Unit, UNN
ICT Unit, UNN
On Mon, May 25, 2020 at 4:05 PM Karthiki Chowdary <karthichowdary222@gmail.com> wrote:
Hi i was beginner in django and i have a small query in templates.--For suppose in the home page of any client browser if we have a button like SKINCARE or HEALTH CARE and if we click on that buttons we need to get the data of all skin care products companies logos/ health care companies logos. For that how i can render data in dictionaries suppose i want to render a static data how can i or i want or render a dynamic data how can i do that with dictionaries so other better option. Please help me out in this
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/f2306e60-f48f-4e47-959c-763e9659182b%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/CAOcS8H17YqSsVUpHor0%2BWSeq_WJvP5z3Gac33ZPTJD47ScG92g%40mail.gmail.com.
No comments:
Post a Comment