gregmuellegger/django-autofixture

Custom autofixtures not used by generate_fk

Closed this issue · 3 comments

When generating an object and some of its foreign keys at once by calling e.g. AutoFixture(Book, generate_fk=['author']), any custom autofixture registered against Author will be ignored, and instead a default generated autofixture will be used.

This behaviour surprised me, is it a deliberate design decision or a bug?

That's propably a bug. I'll have a look.

This fix was just released with version 0.5.0

Thanks Greg!