Can I use HTTP Basic Authentication with Django?

For just supporting basic auth on some requests (and not mucking with the web server — which is how someone might interpret your question title), you will want to look here:

http://www.djangosnippets.org/snippets/243/

Leave a Comment