Closed ghost closed 4 years ago
I will take a look into this, fix and create a new release! Thanks for reporting!
In the meantime, you can put in your settings.py
: DDF_NUMBER_OF_LAPS = 1
Yes! That solve part of the issue. It seems a lot of default behevior such as fill_nullable_fields
also does not active by default. 3.0 introduce some incompatible features but seems can not find in the docs.
I can confirm this issue. I don't think this was the case on version 2.0.0
.
Ran into this today also, and I confirmed that this did not happen in 2.0.0.
This PR should fix this issue: https://github.com/paulocheque/django-dynamic-fixture/pull/125
Please, try the version 3.0.3. Thanks again for reporting.
Thank for contributors of this awesome project. Everything works fine before. However, when I upgrade to 3.x, I got IntegrityError when run tests that passed before.
My model like this:
The test code:
Error reported by pytest:
How could I fix this?