Forums

django 2.0 and python 3.7- how to check with python if user password is correct? (DB SQlite3)

django 2.0 and python 3.7- how to check with python if user password is correct? (DB SQlite3) - from remote location using python3.7

You can use the check_password method on the User object: https://docs.djangoproject.com/en/2.1/ref/contrib/auth/#django.contrib.auth.models.User.check_password