From 9c23d667c80bca13057df73129f4463e41df6188 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sun, 28 Jan 2018 22:04:48 +0100 Subject: [PATCH] rename the empty_label to CHF --- django/didgeridoo/currencies/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/didgeridoo/currencies/forms.py b/django/didgeridoo/currencies/forms.py index 23723cd..02259d9 100644 --- a/django/didgeridoo/currencies/forms.py +++ b/django/didgeridoo/currencies/forms.py @@ -5,4 +5,4 @@ from currencies.models import ExchangeRate_name class CurrenciesForm(forms.Form): currencies = forms.ModelChoiceField( queryset=ExchangeRate_name.objects.all(), - required=False) + required=False, empty_label='CHF')