]> snippets.scripts.mit.edu Git - Scripts/git/.git/commit - django/mit/__init__.py
Scripts auth: don't activate on 127.0.0.1 either
authorAlex Dehnert <adehnert@mit.edu>
Sun, 7 Jul 2013 04:27:57 +0000 (00:27 -0400)
committerAlex Dehnert <adehnert@mit.edu>
Sun, 7 Jul 2013 04:27:57 +0000 (00:27 -0400)
commit5ba5fe8d4f31b66af67137cc36f79597138b76b0
treedba55bb4e957aa98269ba46b106f27027e794b45
parentfb12881374b1b8127c838072598a9df1eed1eaf9
Scripts auth: don't activate on 127.0.0.1 either

The scripts auth module has long delegated to the standard Django auth when the
hostname was localhost, in order to ignore local dev server instances. This
makes it also delegate to standard Django for 127.0.0.1 as well.  I'm not sure
why this hadn't come up before now... A quick look at the Django codebase
suggests this isn't a recent change.
__init__.py