Hi soumen, 

Are you overriding default user model,  if yes check user.is_admin=True.
or else, Please post the exact error

Cheers
Naveen Arora
On Wednesday, 26 February 2020 17:43:51 UTC+5:30, Soumen Khatua wrote:
>
> Hi Folks,
> after creating superuser by using this command python manage.py 
> createsuperuser. Whenever I'm entering the same(exact) login 
> credentials.I'm getting this error:
>     Please enter the correct phone number and password for a staff 
> account. Note        that both fields may be case-sensitive .
>
> But don't why i'm getting this error message.
>
>
> Thank you in advance
>
> Regards,
> Soumen
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7f3894dd-6fd2-455a-975a-2f03f5041c16%40googlegroups.com.

Reply via email to