diff options
Diffstat (limited to 'python/Dawn')
| -rw-r--r-- | python/Dawn/models.py | 11 | ||||
| -rw-r--r-- | python/Dawn/views.py | 4 |
2 files changed, 0 insertions, 15 deletions
diff --git a/python/Dawn/models.py b/python/Dawn/models.py index 68bf8631..87a16275 100644 --- a/python/Dawn/models.py +++ b/python/Dawn/models.py @@ -354,18 +354,7 @@ class CDSDeal(db.Model): db.String(12), default=None, info={"filters": [lambda x: x or None]} ) isda_definition = db.Column(ISDA) - termination_date = db.Column(db.Date) - termination_fee = db.Column(db.Float) - termination_amount = db.Column(db.Float) - termination_cp = db.Column( - db.String(12), - db.ForeignKey("counterparties.code"), - info={"choices": [(None, "")], "label": "termination_counterparty"}, - ) counterparty = db.relationship(Counterparties, foreign_keys=[cp_code]) - termination_counterparty = db.relationship( - Counterparties, foreign_keys=[termination_cp] - ) fcm_account = db.relationship(Accounts, foreign_keys=[account_code]) ref = db.Column(db.Float) __table_args__ = ( diff --git a/python/Dawn/views.py b/python/Dawn/views.py index 02627807..c8e73d17 100644 --- a/python/Dawn/views.py +++ b/python/Dawn/views.py @@ -133,10 +133,6 @@ class CDSForm(ModelForm): exclude = [ "dealid", "lastupdate", - "termination_fee", - "termination_amount", - "termination_cp", - "termination_date", "custodian", "cashaccount", "attach", |
