Jun-16-2020, 08:36 PM
(This post was last modified: Jun-16-2020, 08:39 PM by card51shor.)
(Jun-16-2020, 08:01 PM)ndc85430 Wrote:(Jun-16-2020, 03:29 PM)card51shor Wrote: It doesn't show me how it all fits together.
That example shows you how to use a variable in a template and how to pass a value for that variable torender_template
for it to be substituted in the right place. The code sample you copied above shows you how to loop over a variable and generate HTML for each of the items in it. Surely you can go one step further and think about how to put the two together?
Quote:I have tried things out.
Then show us what you've tried. We can't see your screen, so it's impossible to help you.
Thanks a lot. I really think you're trying to help me.
The other people are just trying to scold me and make me feel dumb - which I already know I'm dumber than you guys that's why I'm here asking for help. Linking me to a site doesn't really help me I keep saying it.
U don't have to show me the answer - u can tell me on here. Showing me an example doesn't help me - I'm sorry it just doesn't help me. I tried. I look at code for hours. Then I try to apply it to my code and I'm stuck.
But once I get going then I start figuring stuff out.
When I hit the wall and I'm constantly told to keep looking at other code - it just makes it worse. I'm sorry. I'm trying.
And I can't show you the things I did since I changed the code to what I have now.
I assure you I've looked at pages and pages of code and read everything there is to say.
It's not clear.
Quote:That example shows you how to use a variable in a template and how to pass a value for that variable to render_template
for it to be substituted in the right place. The code sample you copied above shows you how to loop over a variable and generate HTML for each of the items in it. Surely you can go one step further and think about how to put the two together?
OK so I guess i'll just study this website. If that's all I've got.