Fork me on GitHub

django-moat by amrox

Keep out the riff-raff

django-moat is a mini-app adds an additional layer of authentication via HTTP Basic Auth. It's primary use case is to prevent access staging, development, or otherwise private sites on the public internet. It is equivalent to configuring Basic Auth on your webserver (Apache, nginx) but works in environments where that is not possible (heroku).


Andy Mroczkowski (


Code borrowed from these projects:

Thanks to Ryan Balfanz for suggesting the name.


Andy Mroczkowski (


You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://