Raphaël Barrois
Raphaël Barrois
Thanks for the report! This is indeed a bug, and special care had been taken to ensure that we didn't fall prey to those issues :/ The reproducible code is...
### Recommended option: You can simply set ``total_due = None`` in your factory (which is actually what would be used by Django if you don't provide anything): ```python class ItemFactory:...
@francoisfreitag if you've got some time, I'd be happy to get another set of eyes on this ;)
Hi! Indeed, we should write a « solving common errors » section in the docs — any help would be more than welcome! Regarding your issue, let's walk through the...
Hi! First, thanks a lot for the very detailed traceback, it makes it much easier to see what might be the cause. From the traces, it seems that the `item=`...
That's quite surprising 🤔 What happens if you call `ItemFactory()`? Does it work on its own?
It's currently not supported, indeed. The code you're using is a private API. Instead, you could use: ```python class MyFactory(factory.Factory): class Params: fallback_ip_address = factory.Faker("ipv4") current_ip_address = factory.LazyAttribute( lambda o:...
Yep, that would be a great idea! But I'm not sure how this could be easily done. A simple workaround could be to use ``p = PersonFactory.create()`` — it does...
I strongly object to black's default choices; I take great care to ensure that my code is readable by humans, which requires heuristics that black has been unable to understand....
Hi! I'm sorry, but I'm not sure I understand what you're trying to do, so it's hard to suggest a good pattern to fix it :/ As a side note:...