We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my django template:
{{ form.amount_to_invest }} {{ form.amount_to_invest.value }} {{ form.amount_to_invest.value.amount }}
with
amount_to_invest = MoneyField( max_digits=19, decimal_places=4, default_currency="EUR", null=True )
will show
Now if I raise an error and the form is not valid after submission this is what I can get:
It's not an instance of Money anymore in case of an error, it's a list.
Is that a normal behavior? I was expecting a Money instance.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In my django template:
with
will show
Now if I raise an error and the form is not valid after submission this is what I can get:
It's not an instance of Money anymore in case of an error, it's a list.
Is that a normal behavior? I was expecting a Money instance.
The text was updated successfully, but these errors were encountered: