django - Custom user model breaks auth tests -
Hecko out there,
I'm using a custom user model that I ?? The member has opted to call, which extends the default user model (as described in the form described).
This is because it breaks many tests of the application, because test stability only makes standard users , subscriber not. When I add the missing member definitions / rows to DJ ango / contrib / auth / fixtures / authtestdata.json, they surely repeat, but certainly not a solution. Is this doing something wrong for me, and how should I go about doing the best about fixing it? In the final form, I will just add a patch to authtestdata.json in the Buildout, but perhaps there is a very beautiful solution. Thank you very much, Tilofoni You set the AUTH_USER_PROFILE parameter according to the settings Can get some pleasure from it, as it is a great way to expand the standard user model in such a way that it can work with Django.
Comments
Post a Comment