add exception for two coins

This commit is contained in:
koksnuss 2020-05-19 13:59:58 +02:00
parent 1fb2ef6b0c
commit fad0e8c00f

View File

@ -151,6 +151,11 @@ def show_coin(country, year, stamp, value):
return { return {
'value': value 'value': value
} }
except Coin.MultipleObjectsReturned:
return {
'value': value,
'marker': coin
}
td_class = '' td_class = ''
if not coin.exists: if not coin.exists: