diff options
Diffstat (limited to 'python/Dawn/views.py')
| -rw-r--r-- | python/Dawn/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py index a7b3a0e5..78333d6f 100644 --- a/python/Dawn/views.py +++ b/python/Dawn/views.py @@ -37,7 +37,8 @@ class BondForm(ModelForm): class Meta: model = BondDeal include_foreign_keys = True - exclude = ['dealid', 'lastupdate'] #we generate it with a trigger at the server level + exclude = ['dealid', 'lastupdate', #we generate it with a trigger at the server level + 'principal_payment', 'accrued_payment'] @app.route('/trades/<int:tradeid>', methods=['GET', 'POST']) @app.route('/trades/', defaults={'tradeid': None}, methods=['GET', 'POST']) |
