summaryrefslogtreecommitdiff
path: root/app/trading/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/trading/views.py')
-rw-r--r--app/trading/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/trading/views.py b/app/trading/views.py
index a2bc5eb..1b07852 100644
--- a/app/trading/views.py
+++ b/app/trading/views.py
@@ -22,11 +22,10 @@ class TradeModelFormView(CreateView):
class LuxTradeDetailView(UpdateView):
model = LuxTrade
- fields = ['symbol', 'status', 'entry_price', 'stop_price', 'target_price', 'shares', 'close_price']
+ fields = ['symbol', 'status', 'entry_price', 'stop_price', 'target_price', 'shares', 'close_price', 'notes']
template_name = 'trading/update_form.html'
success_url = '/trading/'
-
class LuxTradeListView(PaginatedListView):
model = LuxTrade
template_name = 'trading/list.html'