From 66b01525e454369aacaa5bd42c791aa261878562 Mon Sep 17 00:00:00 2001 From: lxf Date: Thu, 6 Jan 2022 10:06:46 -0500 Subject: trad: fixed a template bug --- app/trading/templates/trading/list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/trading') diff --git a/app/trading/templates/trading/list.html b/app/trading/templates/trading/list.html index be9b527..a8a0a01 100644 --- a/app/trading/templates/trading/list.html +++ b/app/trading/templates/trading/list.html @@ -19,11 +19,11 @@ {% for object in luxoptions_purchases %} - {{object.symbol}} + {{object.symbol|upper}} {{object.open_date|date:"Y-m-d"}}
- {% for contract in object.luxoptioncontact_set.all %}{% if forloop.first%} + {% for contract in object.luxoptioncontract_set.all %}{% if forloop.first%} {{object.get_contract_count}} {{contract.expiration_date|date:"Mj"}} ${{contract.strike_price|floatformat:0}} {{contract.get_call_put_display|title}} -- cgit v1.2.3-70-g09d2