2018-01-28 20:24:35 +01:00
|
|
|
from django import forms
|
|
|
|
from currencies.models import ExchangeRate_name
|
|
|
|
|
|
|
|
|
|
|
|
class CurrenciesForm(forms.Form):
|
|
|
|
currencies = forms.ModelChoiceField(
|
|
|
|
queryset=ExchangeRate_name.objects.all(),
|
2018-01-28 22:04:48 +01:00
|
|
|
required=False, empty_label='CHF')
|