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>
Sun, 30 May 2010 02:34:45 +0000 (22:34 -0400)
commit4df1aef48e58c3386a17591eac1fced9c55a4a8e
tree83df5ccd00a50ab74dbfbc6804dba47cd15f5812
parent2e0bd8fa160d00c521d5641ce5de47062776be20
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.
__init__.py