skip to Main Content

Apache + Django on Windows does not start

I am trying to set up Apache with Django on Windows but it does not seem to work. My settings.py ALLOWED_HOSTS = ['localhost', '127.0.0.1'] My wsgi.py import os import sys from django.core.wsgi import get_wsgi_application from pathlib import Path # Add…

VIEW QUESTION

Why Django template loader is case-sensitive in production but not in development – Apache

I'm using manage.py runserver on a MacOs Catalina OS as development. I have some templates that fit my built-in class based views. For example: CuadroDeControl_detail.html LoteDeMedio_list.html TipoDeMedio_detail_tablaCuadros.html CuadroDeControl_detail_resumen.html LoteDeMedio_list_tabla.html TipoDeMedio_list.html CuadroDeControl_detail_tablaMetodos.html MetodoDeControl_detail.html TipoDeMedio_list_tabla.html LoteDeMedio_confirm_delete.html MetodoDeControl_detail_resumen.html dropdown_CuadroDeControl.html LoteDeMedio_create.html TipoDeMedio_confirm_delete.html dropwdown_CuadroDeControl.html LoteDeMedio_detail.html…

VIEW QUESTION

`NameError: name 'TypeError' is not defined` in Apache (mod_wsgi)

Install Version Apache apr-1.6.5 apr-util-1.6.1 httpd-2.4.7 mod_wsgi-4.6.8 pcre-8.32 Python 3.8.5 Django 3.1.2 Apache http.conf Listen 3600 WSGISocketPrefix /var/run/wsgi <VirtualHost *:3600> WSGIDaemonProcess project_name display-name=project_name WSGIScriptAlias / /data/project_name/config/wsgi.py process-group=api application-group=api ServerName project_name <Directory /data/project_name/config> Order allow,deny Allow from all Require all granted…

VIEW QUESTION
Back To Top
Search