diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/trading/admin.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app/trading/admin.py b/app/trading/admin.py index 8b1435c..4848ed1 100644 --- a/app/trading/admin.py +++ b/app/trading/admin.py @@ -1,6 +1,6 @@ from django.contrib import admin from django.db import models -from .models import TradeJrnl, OptionsTrade +from .models import TradeJrnl, OptionsTrade, LuxTrade from utils.widgets import AdminImageWidget, LGEntryForm @@ -24,3 +24,12 @@ class OptionsTradeAdmin(admin.ModelAdmin): "all": ("my_styles.css",) } +@admin.register(LuxTrade) +class LuxTradeAdmin(admin.ModelAdmin): + list_display = ('symbol', 'status', 'open_date', 'entry_price', 'stop_price', 'close_price', 'shares', 'amount_invested') + class Media: + js = ('image-loader.js', 'next-prev-links.js') + css = { + "all": ("my_styles.css",) + } + |