diff options
author | lxf <sng@luxagraf.net> | 2022-01-06 11:09:04 -0500 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2022-01-06 11:09:04 -0500 |
commit | 96232c02fe68f7f8c1213ce3e81c9c594ac4e9e5 (patch) | |
tree | db8fd24fd10236c6c59ba20871e5774e755da434 /app/trading/views.py | |
parent | 1b74c74fb154385d861d8a74feca75826d1c8a4b (diff) |
trad: fixed a bug in pl when saving
Diffstat (limited to 'app/trading/views.py')
-rw-r--r-- | app/trading/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/trading/views.py b/app/trading/views.py index 982fb8f..3bb64cf 100644 --- a/app/trading/views.py +++ b/app/trading/views.py @@ -25,7 +25,7 @@ class LuxTradeListView(PaginatedListView): context['options_monthly_pl'] = LuxOptionPurchase.stats.get_month_pl() context['options_year_pl'] = LuxOptionPurchase.stats.get_year_pl() context['month'] = datetime.now().strftime('%h') - context['luxoptions_purchases'] = LuxOptionPurchase.objects.filter(status=0) + context['luxoptions_purchases'] = LuxOptionPurchase.objects.all() return context def get_queryset(self): |