Thanks Vijay. It works.
On Thursday, 17 August 2017 18:20:48 UTC+8, Desmond Lim wrote:
>
> Hi there,
>
> I'm wonder, how do we create a verified user for testing purpose
>
> I have this line that creates a user
>
> *cls.user = get_user_model().objects.create_user(username='testuser',
> email='tes
Check that the created user has the "is_active" field set to True
On Thu, Aug 17, 2017 at 2:41 AM, Desmond Lim wrote:
> Hi there,
>
> I'm wonder, how do we create a verified user for testing purpose
>
> I have this line that creates a user
>
> *cls.user = get_user_model().objects.create_user(use
Hi there,
I'm wonder, how do we create a verified user for testing purpose
I have this line that creates a user
*cls.user = get_user_model().objects.create_user(username='testuser',
email='testu...@testing.com', password='password')*
When I do a test of this for my custom login interface
3 matches
Mail list logo