Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
97 views

Check50 PSET9 Finance Failing Throughout

First post here...seems I'm coming unstuck at the pointy end of the course. Hahaha! My code doesn't seem to be passing Check50 through Quotes/Buy/Sell - although the functionality seems to be fine ...
Jumbot's user avatar
  • 3
0 votes
1 answer
82 views

Finance app - object is not subscriptable

I have problems with pset 9 finance. Since days I try to figure out what is wrong with my code for the sell route. I know that there a handfull of similar questions on StackExchange/StackOverflow but ...
Karl's user avatar
  • 5
0 votes
0 answers
765 views

Problem with endblock tag in finance. "endblock" tag unknown

{% extends "layout.html" %} {% block title %} Quote {% endblock %} {% block main %} <form action="/quote" method="post"> <div class="form-...
catnamedboo's user avatar
0 votes
1 answer
513 views

Pset7 Finance, Sell problem with POST requests

My problem is that I'm not getting any value back from my select form. I pass a list of stocks to the jinja template via return render_template("sell.html", stocks=stocks) and on the sell.html page I ...
MVierma's user avatar
  • 15
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 ...
user34304's user avatar
  • 141
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 ...
Chris Koro's user avatar