{{% if user.is_authenticated %}} is not working properly it always shows the authenticated block and not else block
……………..urls.py……….
django login Authentication returns None
I am trying to authenticate in django but when I enter the real credentials it assigns the user as None, but when I enter credentials that do not exist it does not assign it as None.