Python Forum
Displaying search results
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Displaying search results
#27
(Jun-16-2020, 08:34 AM)ndc85430 Wrote: [quote='card51shor' pid='117982' dateline='1592294323']
<ul id="navigation">
    {% for item in navigation %}
        <li><a href="{{ item.href }}">{{ item.caption }}</a></li>
    {% endfor %}
    </ul>
so all i have to do is add this code to my html page and suddenly it will print out the results? How is it linked to my "b" variable in python?

Sigh, look again at the example in the Flask docs. As I said above, it shows you all the pieces and how they fit together. Why aren't you trying things out, seeing what problems you encounter and trying to work out what you can do about them?
[/quote]

It doesn't show me how it all fits together. I looked. It's different than my code so it's confusing me.

I have tried things out. I already understand all this code - but what is the correct syntax for me to do my own? Is anyone printing a list to the html file in the examples? I can't find one that pertains to what I'm trying to do.

I already know what I'm trying to do I just don't know all the syntax of how to do it.

(Jun-16-2020, 08:37 AM)SheeppOSU Wrote: [quote="card51shor" pid="117982" dateline="1592294323"]everyone else is giving me bad ratings.
If you read the rep you can see why you're getting them. People think you're being lazy, not trying to write code yourself.
(Jun-16-2020, 07:58 AM)card51shor Wrote: it's just always another page of documentation that helps me a little bit but ultimately needs to be changed too much to fit my project and I can never find out how.
Code always changes from docs to being typed out into someone else's code for some purpose. The point of docs is to show you the basic concepts of how something works. Most of the time they do a good job at that. However they don't help if you can't interpret the code and apply it for yourself. Same thing in this case. "Template variables are defined by the context dictionary passed to the template." tells you how the variables are passed. this explains all kinds of operators you can use. This explains how you can access variables that have been passed into the template, it's the same concept as using a variable in any other language.
[/quote]

I'm sorry I just don't think anyone here is listening to me.

I don't need links to more information. I've already seen the information.

I DON'T UNDERSTAND HOW TO DO IT!

Isn't that what you guys are here for? Anyone can google and find a bunch of instructions...

but what do I do if I don't understand the instructions? Isn't that what you guys are here for?

Why do u guys keep calling me lazy? I'm here every night of June asking for help.

I'm never giving up. But saying "here's a link" doesn't really help me. It does for a bit - but then it just raises a bunch more questions as well.

Then I ask them and you guys yell at me more.

Not everyone retains information the same.

I Need some hands on help. Can anyone offer that? If not, that's fine - I don't expect anyone to take me on and help me.

But if you could - I would really appreciate it.

If you're going to link me to links I've already seen and been trying to duplicate - it just gets me more frustrated.

I'm sorry I guess I'm not as good as you guys.

(Jun-16-2020, 08:37 AM)SheeppOSU Wrote: [quote="card51shor" pid="117982" dateline="1592294323"]everyone else is giving me bad ratings.
If you read the rep you can see why you're getting them. People think you're being lazy, not trying to write code yourself.
(Jun-16-2020, 07:58 AM)card51shor Wrote: it's just always another page of documentation that helps me a little bit but ultimately needs to be changed too much to fit my project and I can never find out how.

I think you're lazy not trying to help people who need help on a python forum. You think linking to a site you found on google is help? Anyone can do that.
Reply


Messages In This Thread
Displaying search results - by card51shor - Jun-16-2020, 05:37 AM
RE: Displaying search results - by ndc85430 - Jun-16-2020, 06:04 AM
RE: Displaying search results - by card51shor - Jun-16-2020, 06:06 AM
RE: Displaying search results - by ndc85430 - Jun-16-2020, 06:14 AM
RE: Displaying search results - by card51shor - Jun-16-2020, 06:19 AM
RE: Displaying search results - by ndc85430 - Jun-16-2020, 06:20 AM
RE: Displaying search results - by card51shor - Jun-16-2020, 06:23 AM
RE: Displaying search results - by ndc85430 - Jun-16-2020, 06:24 AM
RE: Displaying search results - by card51shor - Jun-16-2020, 06:26 AM
RE: Displaying search results - by ndc85430 - Jun-16-2020, 06:29 AM
RE: Displaying search results - by card51shor - Jun-16-2020, 06:36 AM
RE: Displaying search results - by buran - Jun-16-2020, 06:49 AM
RE: Displaying search results - by card51shor - Jun-16-2020, 06:54 AM
RE: Displaying search results - by ndc85430 - Jun-16-2020, 07:11 AM
RE: Displaying search results - by card51shor - Jun-16-2020, 07:20 AM
RE: Displaying search results - by ndc85430 - Jun-16-2020, 07:28 AM
RE: Displaying search results - by card51shor - Jun-16-2020, 07:34 AM
RE: Displaying search results - by ndc85430 - Jun-16-2020, 07:44 AM
RE: Displaying search results - by card51shor - Jun-16-2020, 07:58 AM
RE: Displaying search results - by ndc85430 - Jun-16-2020, 08:34 AM
RE: Displaying search results - by card51shor - Jun-16-2020, 03:29 PM
RE: Displaying search results - by ndc85430 - Jun-16-2020, 08:01 PM
RE: Displaying search results - by card51shor - Jun-16-2020, 08:36 PM
RE: Displaying search results - by card51shor - Jun-17-2020, 12:41 AM
RE: Displaying search results - by SheeppOSU - Jun-16-2020, 07:40 AM
RE: Displaying search results - by card51shor - Jun-16-2020, 07:51 AM
RE: Displaying search results - by ndc85430 - Jun-16-2020, 07:56 AM
RE: Displaying search results - by buran - Jun-16-2020, 07:50 AM
RE: Displaying search results - by buran - Jun-16-2020, 07:56 AM
RE: Displaying search results - by SheeppOSU - Jun-16-2020, 08:37 AM
RE: Displaying search results - by pyzyx3qwerty - Jun-16-2020, 04:26 PM
RE: Displaying search results - by pyzyx3qwerty - Jun-17-2020, 02:01 AM
RE: Displaying search results - by card51shor - Jun-17-2020, 02:41 AM
RE: Displaying search results - by ndc85430 - Jun-17-2020, 04:35 AM
RE: Displaying search results - by card51shor - Jun-17-2020, 05:18 AM
RE: Displaying search results - by ndc85430 - Jun-17-2020, 05:29 AM
RE: Displaying search results - by card51shor - Jun-17-2020, 05:41 AM
RE: Displaying search results - by ndc85430 - Jun-17-2020, 05:42 AM
RE: Displaying search results - by card51shor - Jun-17-2020, 05:51 AM
RE: Displaying search results - by ndc85430 - Jun-17-2020, 06:18 AM
RE: Displaying search results - by card51shor - Jun-17-2020, 06:32 AM
RE: Displaying search results - by ndc85430 - Jun-17-2020, 06:33 AM
RE: Displaying search results - by card51shor - Jun-17-2020, 06:35 AM
RE: Displaying search results - by ndc85430 - Jun-17-2020, 06:43 AM
RE: Displaying search results - by card51shor - Jun-17-2020, 06:44 AM
RE: Displaying search results - by ndc85430 - Jun-17-2020, 07:28 AM
RE: Displaying search results - by card51shor - Jun-17-2020, 07:38 AM
RE: Displaying search results - by ndc85430 - Jun-17-2020, 07:49 AM
RE: Displaying search results - by card51shor - Jun-17-2020, 07:55 AM
RE: Displaying search results - by ndc85430 - Jun-17-2020, 08:06 AM
RE: Displaying search results - by card51shor - Jun-17-2020, 08:12 AM
RE: Displaying search results - by ndc85430 - Jun-17-2020, 08:15 AM
RE: Displaying search results - by card51shor - Jun-17-2020, 08:18 AM
RE: Displaying search results - by SheeppOSU - Jun-17-2020, 03:22 PM
RE: Displaying search results - by card51shor - Jun-17-2020, 04:04 PM
RE: Displaying search results - by ndc85430 - Jun-17-2020, 05:29 PM
RE: Displaying search results - by card51shor - Jun-17-2020, 05:44 PM
RE: Displaying search results - by ndc85430 - Jun-18-2020, 04:23 AM
RE: Displaying search results - by card51shor - Jun-18-2020, 04:54 AM
RE: Displaying search results - by ndc85430 - Jun-18-2020, 05:01 AM
RE: Displaying search results - by card51shor - Jun-18-2020, 05:33 AM
RE: Displaying search results - by ndc85430 - Jun-18-2020, 05:43 AM
RE: Displaying search results - by card51shor - Jun-18-2020, 05:52 AM
RE: Displaying search results - by ndc85430 - Jun-18-2020, 05:56 AM
RE: Displaying search results - by card51shor - Jun-18-2020, 05:58 AM
RE: Displaying search results - by ndc85430 - Jun-18-2020, 05:59 AM
RE: Displaying search results - by card51shor - Jun-18-2020, 06:35 AM
RE: Displaying search results - by ndc85430 - Jun-19-2020, 05:40 AM
RE: Displaying search results - by card51shor - Jun-19-2020, 07:01 AM
RE: Displaying search results - by card51shor - Jun-19-2020, 09:59 PM
RE: Displaying search results - by ndc85430 - Jun-20-2020, 05:47 AM
RE: Displaying search results - by card51shor - Jun-20-2020, 07:43 AM
RE: Displaying search results - by card51shor - Jun-21-2020, 12:38 AM
RE: Displaying search results - by ndc85430 - Jun-21-2020, 05:06 AM
RE: Displaying search results - by card51shor - Jun-21-2020, 05:25 AM
RE: Displaying search results - by ndc85430 - Jun-21-2020, 05:44 AM
RE: Displaying search results - by card51shor - Jun-21-2020, 05:45 AM
RE: Displaying search results - by ndc85430 - Jun-21-2020, 05:47 AM
RE: Displaying search results - by card51shor - Jun-21-2020, 05:48 AM
RE: Displaying search results - by ndc85430 - Jun-21-2020, 05:56 AM
RE: Displaying search results - by card51shor - Jun-21-2020, 06:00 AM
RE: Displaying search results - by ndc85430 - Jun-21-2020, 06:00 AM
RE: Displaying search results - by card51shor - Jun-21-2020, 06:08 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020