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
On model I have fields:
currency = models.CharField(max_length=settings.DEFAULT_CURRENCY_CODE_LENGTH) price_amount = models.DecimalField( max_digits=settings.DEFAULT_MAX_DIGITS, decimal_places=settings.DEFAULT_DECIMAL_PLACES, ) price = MoneyField(amount_field="price_amount", currency_field="currency")
When I change price on objects and try to save it with object.save(update_fields=["price"]). My object is not updated and I haven't got any error.
price
object.save(update_fields=["price"])
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On model I have fields:
When I change
price
on objects and try to save it withobject.save(update_fields=["price"])
. My object is not updated and I haven't got any error.The text was updated successfully, but these errors were encountered: