aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/Dawn/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py
index 8ea21997..a7b3a0e5 100644
--- a/python/Dawn/views.py
+++ b/python/Dawn/views.py
@@ -51,8 +51,8 @@ def trade_manage(tradeid):
settle_date = pd.datetime.today().date() + 3 * BDay())
#add extra empty fields
bond_form.folder.choices = [(None, '')] + bond_form.folder.choices
- bond_form.buysell.choices = [(None, '')] + bond_form.buysell
- bond_form.asset_class.choices = [(None, '')] + bond_form.asset_class
+ bond_form.buysell.choices = [(None, '')] + bond_form.buysell.choices
+ bond_form.asset_class.choices = [(None, '')] + bond_form.asset_class.choices
bond_form.cp_code.choices = bond_form.cp_code.choices + list(cp_choices())
if bond_form.is_submitted():
if bond_form.validate():