diff --git a/coinmanager/coinc/views.py b/coinmanager/coinc/views.py index 1e6ef12..8f82d82 100644 --- a/coinmanager/coinc/views.py +++ b/coinmanager/coinc/views.py @@ -130,7 +130,7 @@ def show_country(country, single_country=False): for stamp in stamps_per_year: c['years'][year][stamp] = { - 1: {}, + '1': {}, 2: {}, 5: {}, 10: {}, @@ -228,10 +228,9 @@ def show_coin(coin, value): 'td_class': coin['td_class'], 'div_class': coin['div_class'], 'special_class': coin['special_class'], - 'special_name': coin['special_name'], - } + 'special_name': coin['special_name']} else: - return {} + return { 'value': value } def add_user(request, username, color):