add a form for a currency drop down
This commit is contained in:
parent
363d0cd053
commit
faba1a597d
|
@ -0,0 +1,8 @@
|
|||
from django import forms
|
||||
from currencies.models import ExchangeRate_name
|
||||
|
||||
|
||||
class CurrenciesForm(forms.Form):
|
||||
currencies = forms.ModelChoiceField(
|
||||
queryset=ExchangeRate_name.objects.all(),
|
||||
required=False)
|
Loading…
Reference in New Issue