diff options
author | luxagraf <sng@luxagraf.net> | 2021-07-15 15:24:32 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2021-07-15 15:24:32 -0400 |
commit | d771469e7b37c9de9ed93e156bc4615180c8d413 (patch) | |
tree | 14ac1ae641814f27c5b917d6223084416c884f94 | |
parent | b8fac6ff71613d22f51f897a16d37610e393e738 (diff) |
trad: added notes to update form
-rw-r--r-- | app/trading/views.py | 3 |
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' |