Monthly Archives: October 2009

Testing, Django Client, and HTTP Basic Access Authentication

I was writing a test using the django client against some code that uses http basic authentication. I had to dig for hours to figure this out, so I figured I’d post my solution somewhere. def create_auth_string(username, password): import base64 … Continue reading

Posted in Development | Leave a comment