Estoy corriendo:
python manage.py runserver localhost:44100 Y esto me está redirigiendo a https :
» http http://localhost:44100/ HTTP/1.0 301 Moved Permanently Content-Type: text/html; charset=utf-8 Date: Mon, 05 Mar 2018 14:09:09 GMT Location: https://localhost:44100/ Server: WSGIServer/0.1 Python/2.7.14 X-Frame-Options: SAMEORIGIN ¿Por qué / cómo está sucediendo esto? ¿Qué configuración controla si Django acepta http / https ?
Mi mejor suposición es que en el archivo settings.py de su proyecto ha configurado
SECURE_SSL_REDIRECT = Truelo que hace que su http se redirija a https. Puedes leer sobre esto aquí .
Si ese es el caso, es posible que desee eliminar esa línea y borrar el caché de su navegador antes de que comience a funcionar según lo previsto.
Use python manage.py runssslserver para manejar SSL y https. Primero debe instalar django-sslserver y configurarlo en
INSTALLED_APPS = [ 'sslserver', ]