factory_boy

/Tag: factory_boy

Factory boy + Profile + Signals

By |2018-11-10T13:30:20+00:00noviembre 10th, 2018|Categories: Django, Testing|Tags: , , , , |

Factory boy + Profile + Signals The problem for me was to create users and profiles with factory boy. I have a User model, and then two profiles, only one of each will be attached to the user. Only some relevant fields will be listed in the code. project.apps.authentication.models.py [crayon-5c98ee312d75b559730274/] project.apps.entities.models.py [crayon-5c98ee312d76c646917873/] So after having [...]