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
TypeError: <class 'django.contrib.postgres.fields.ranges.DecimalRangeField'> is not supported by baker.
Be able to get instance
instance
What you expected. instance is created
from django.contrib.postgres.fields import DecimalRangeField
DecimalRangeField()
baker.make(MyModel, _quantity=20)
Python: 3.8.2 Django: django==3.0.5 Model Bakery: model-bakery==1.1.0
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
TypeError: <class 'django.contrib.postgres.fields.ranges.DecimalRangeField'> is not supported by baker.
Expected behavior
Be able to get
instance
What you expected.
instance
is createdActual behavior
TypeError: <class 'django.contrib.postgres.fields.ranges.DecimalRangeField'> is not supported by baker.
Reproduction Steps
from django.contrib.postgres.fields import DecimalRangeField
as a headerDecimalRangeField()
baker.make(MyModel, _quantity=20)
Versions
Python: 3.8.2
Django: django==3.0.5
Model Bakery: model-bakery==1.1.0
The text was updated successfully, but these errors were encountered: