add exception for two coins
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user