diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/trading/models.py | 1 | ||||
-rw-r--r-- | app/trading/templates/trading/list.html | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/app/trading/models.py b/app/trading/models.py index 0b79c9e..a8c18a8 100644 --- a/app/trading/models.py +++ b/app/trading/models.py @@ -101,6 +101,7 @@ class LuxTrade(models.Model): (2, 'Watching'), ) status = models.IntegerField(choices=STATUS, default=2) + notes = models.TextField(null=True, blank=True) def __str__(self): return str(self.symbol) diff --git a/app/trading/templates/trading/list.html b/app/trading/templates/trading/list.html index 6785c72..9093d07 100644 --- a/app/trading/templates/trading/list.html +++ b/app/trading/templates/trading/list.html @@ -86,6 +86,7 @@ <th>$ Goal</th> <th>Realized $</th> <th>Realized %</th> + <th>Notes</th> </tr> </thead> {% for object in object_list %} @@ -102,6 +103,7 @@ <td>${{object.goal_dollars}}</td> <td>${{object.realized_dollars}}</td> <td>{{object.realized_percent}}</td> + <td>{{object.notes}}</td> </tr> {% endfor %} </table> |