All Questions
4 questions
2
votes
2
answers
819
views
Using jinja to render template based on previous url - pset7 finance
For the finance website homepage, I want to render index.html differently based on the previous url. For example, if I logged in I want to render a panel saying 'logged in', but if I registered I want ...
1
vote
1
answer
5k
views
Pset7, Index: How to use loops in Python and Jinja?
I felt like I could understand the for loops great in c, but seem to be hitting a wall here.
Some generic conceptual questions before i get into it:
1) ANSWERED. what sequence does the program run, ...
0
votes
1
answer
1k
views
jinja code not working inside html file
I am using flask for the first time and jinja code is being displayed on the webpage.
this is my html file:
<!DOCTYPE html>
<html lang="en">
<head>
...
5
votes
1
answer
4k
views
cs50 finance / pset-7 confused on index() table
I am trying to work on pset7, but am having a problem printing it out to the screen in the table format. I have all the values I need (the values I have are correct), but just can't figure out how to ...