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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/trading/views.py b/app/trading/views.py
index 1b07852..a32d571 100644
--- a/app/trading/views.py
+++ b/app/trading/views.py
@@ -16,13 +16,13 @@ class OptionsTradeResultsView(PaginatedListView):
class TradeModelFormView(CreateView):
model = LuxTrade
- fields = ['symbol', 'status', 'entry_price', 'stop_price', 'target_price', 'shares']
+ fields = ['symbol', 'status', 'entry_price', 'stop_price', 'target_price', 'shares', 'is_wanderer']
success_url = '/trading/'
template_name = 'trading/create_form.html'
class LuxTradeDetailView(UpdateView):
model = LuxTrade
- fields = ['symbol', 'status', 'entry_price', 'stop_price', 'target_price', 'shares', 'close_price', 'notes']
+ fields = ['symbol', 'status', 'entry_price', 'stop_price', 'target_price', 'shares', 'close_price', 'notes', 'is_wanderer']
template_name = 'trading/update_form.html'
success_url = '/trading/'