More changes to use six.
Bypass the ALLOWED_HOSTS for Django.