diff --git a/coinmanager/coinc/views.py b/coinmanager/coinc/views.py index c7049ee..7322f06 100644 --- a/coinmanager/coinc/views.py +++ b/coinmanager/coinc/views.py @@ -151,6 +151,11 @@ def show_coin(country, year, stamp, value): return { 'value': value } + except Coin.MultipleObjectsReturned: + return { + 'value': value, + 'marker': coin + } td_class = '' if not coin.exists: