The authentication backend to save in the session is selected as follows
This allows the same authentication backend to fetch the user's details on a future request.
A non-unique username field is allowed if you use a custom authentication backend that can support it.
Un champ de nom d'utilisateur non unique est autorisé si vous utilisez un moteur d'authentification personnalisé qui le prend en charge.
The field must be unique (i.e., have unique=True set in its definition), unless you use a custom authentication backend that can support non-unique usernames.
Ce champ doit être unique (c'est-à-dire que unique=True doit apparaître dans sa définition), sauf dans le cas où vous utilisez un moteur d'authentification personnalisé qui sait gérer les noms d'utilisateur non uniques.
The HttpRequest is now passed to authenticate() which in turn passes it to the authentication backend if it accepts a request argument.
La requête HttpRequest est dorénavant transmise à authenticate() qui à son tour la transmet au moteur d'authentification si celui-ci accepte un paramètre request.
This is the default authentication backend used by Django.
Il s'agit du moteur d'authentification utilisé par défaut par Django.
They also run mission critical LDAP Authentication Backend on OpenBSD (OpenLDAP), as well as MySQL databases.
Ils utilisent également OpenBSD pour le fonctionnement de leur système critique d'authentification LDAP (OpenLDAP) et les bases de données MySQL.
Now you can set the backend using the new backend argument. Selecting the authentication backend
Dorénavant, vous pouvez définir le moteur en utilisant le nouveau paramètre backend.
See the authentication backend reference for information on the authentication backends included with Django. Specifying authentication backends
Consultez la référence sur les moteurs d'authentification pour plus d'informations sur les moteurs d'authentification intégrés à Django.