G
G
German Jet2014-01-07 19:32:15
Django
German Jet, 2014-01-07 19:32:15

How to make authorization in Django only by login (without password)?

It is necessary in Django to make it possible to authorize users (including the admin) by access code (login).
Is it possible?
I must say right away that authorization through social networks (django-social-auth) will not work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2014-01-07
@GeraJet

I think yes. Write your authentication-backend and add it to AUTHENTICATION_BACKENDS in settings.py. You may also need to tweak the login form. Do you need to log into the admin panel only by login?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question