Re: Why does django throw TypeError when sending requests through Apache WSGI?

2021-12-15 Thread Kyle Paterson
Used libapache2-mod-wsgi-py3 instead of python 2 version On Wednesday, 15 December 2021 at 10:03:27 UTC Kyle Paterson wrote: > I am not using either of those, I think. The only place I explicitly load > settings is in wsgi.py, with the line: > os.environ[‘DJANGO_SETTINGS_MODULE’]

ModuleNotFoundError: No module named [project_name]

2021-12-15 Thread Kyle Paterson
I am using django 4.0 with Apache and mod_wsgi. Whenever I try request the site through apache, I get the following error: [Wed Dec 15 14:51:59.385259 2021] [wsgi:info] [pid 15535:tid 140431892707072] [remote 127.0.0.1:44654] mod_wsgi (pid=15535, process='traveldata', application='127.0.1.1|'):

Re: Why does django throw TypeError when sending requests through Apache WSGI?

2021-12-15 Thread Kyle Paterson
ty name. >> >> Regards, >> Sencer HAMARAT >> >> >> >> On Wed, Dec 8, 2021 at 4:59 PM Kyle Paterson >> wrote: >> >>> Started a new project after not using Django for roughly two years, >>> works fine when running as a developmen

Why does django throw TypeError when sending requests through Apache WSGI?

2021-12-08 Thread Kyle Paterson
Started a new project after not using Django for roughly two years, works fine when running as a development server but throws TypeError: SimpleLazyObject class: property object not callable. >From apache error log: [Wed Dec 08 10:11:53.023239 2021] [wsgi:error] [pid 10704:tid 140343150348032]