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-5dac2b86d23f8864197680/] project.apps.entities.models.py [crayon-5dac2b86d2406526053870/] So after having [...]