Hello,
i´d like to use the django to login but without connection on database.
I´ll consume webservices in another language to do this.
I made using the remote_user but i don´t know how to do this.
from django.contrib.auth import authenticate, logout, login
def sessao_login(request, _dados):
user = authenticate(remote_user=_dados['email'])
but when i put the login(request, user) this clean my session vars..
Is this the best way?
How can i make this?
Thanks.