web_AI-5/django/didgeridoo/currencies/forms.py

8 lines
206 B
Python
Raw Normal View History

from django import forms
from currencies.models import ExchangeRate_name
class CurrencyForm(forms.Form):
2018-01-14 17:13:41 +01:00
currencies = forms.ModelChoiceField(
queryset=ExchangeRate_name.objects.all())