1👍
✅
You should do this in clean()
, not clean_amount()
. From clean
you can access self.cleaned_data['amount']
and self.cleaned_data['currency']
.
Source:stackexchange.com