Reputation: 110502
Starting in 1.5, you can do:
from django.contrib.auth.handlers.modwsgi import check_password
in your wsgi file for Apache HttpAuthentication. I am currently using 1.4, how would I do this?
Upvotes: 0
Views: 35
Reputation: 851
As you can see here, this was a new feature of Django 1.5. You may check the source code / implementation of check_password and see how it is done and can perhaps recreate it for 1.4, but I would consider updating the project to 1.8 anyway...
check_password
Upvotes: 1