def respond_django(self, environ):
        environ["port"] = ""
        if environ["SERVER_NAME"] in ("127.0.0.1", "localhost"):
            environ["port"] = ":8000"
        location = ("%(wsgi.url_scheme)s://" +
            "%(SERVER_NAME)s%(port)s%(PATH_INFO)s") % environ
        return (301, [("Location", location)], None)
Tries to redirect to a Django app if someone accesses an
dataset/ETHPy150Open stephenmcd/gnotty/gnotty/server.py/IRCApplication.respond_django