Answer the question
In order to leave comments, you need to log in
How to authenticate in Django using raw sql query?
Hello.
We need to make a simple custom backend for django.
The essence of his work is as follows. SQL query to get the login\password, transfer the username to the database with django, but still authenticate using data from another database. Actually everything.
There is a module that works with crowd like I described: https://github.com/gbezyuk/django-crowd , only it takes data, of course, from the crowd. I need the same thing, but with a SQL query.
The problem is that I don't know how to connect to the database and raw request from the backend.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question