Questions tagged [jinja2]

The tag has no usage guidance.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
2k views

How to call the usd function in the jinja template of quoted.html?

I want to display the cost of the share in Quote tab using the "usd" function defined in helpers.py. I've tried adding app.jinja_env.globals.update(usd=usd)in application.py and then calling the ...
Aditya Gaikwad's user avatar
0 votes
1 answer
283 views

CS50 2023 Finance Check50 issue

There is no way to get rid of the following check50 error: :( logging in as registered user succeeds application raised an exception (see the log for more details) I found through googling that in ...
RaulMuroc's user avatar
0 votes
1 answer
8 views

Finance - Quote: Toggle visibility between submit button and table

I'm happy that my finance website finally works properly!!! The thing is that I'm trying to make it look like the staff's solution website and I can't seem to get quote.html to behave like theirs (...
Avanoc's user avatar
  • 3
0 votes
0 answers
652 views

Help wanted. Trying to make a table using a loop in jinja

My name is Sol and I'm kinda new here. I'm trying to finish my CS50 PSET 7 and I got stuck. Both in index.html and history.html I have the same problem. I'm trying to populate a table with info taken ...
Avanoc's user avatar
  • 3