localhost check needs to use portless-HTTP_HOST
authorAlex Dehnert <adehnert@mit.edu>
Sun, 30 May 2010 02:34:45 +0000 (22:34 -0400)
committerAlex Dehnert <adehnert@mit.edu>
Mon, 6 Jun 2011 06:04:39 +0000 (02:04 -0400)
commit6e5f75cd24ff17ae694e385aa066f34a0d325e1f
tree3c4ee3490e5bcdac5f24e60f434e713cb01e4fb9
parent31769b1f70ce77b815a64dd2a0dba525d48ace16
localhost check needs to use portless-HTTP_HOST

As a bonus, this gets around the problem that the Django dev server doesn't
set REQUEST_URI.
django/mit/__init__.py