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(
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
2 matches
Mail list logo