Python Forum
Trouble deploying Django (project folder, wsgi.py and libapache2-mod-wsgi)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble deploying Django (project folder, wsgi.py and libapache2-mod-wsgi)
#7
As per your suggestion, @knackwurstbagel, I adjusted my sys.path.append to include the project directory. I removed the second level project directory, so at that line it says 'TheGreatWork/' instead of 'TheGreatWork/TheGreatWork/'. The Apache Internal Server Error is now gone! Thank you, my friend.

Here is my site: https://daniel496.agency/
As you can see, now Django is throwing a new error message.

It is pointing towards the fact that it is looking for my templates folder but can't find it. Originally it was looking for the default inside my venv, but right away I noticed the 'templates' variable was missing from my inside my INSTALLED_APPS list inside settings.py. So I appended 'templates' to that list there but I am still getting the same error.

If it helps, here is a screenshot of my project tree:

[Image: fSoTmOP.jpg]
Reply


Messages In This Thread
RE: Trouble deploying Django (project folder, wsgi.py and libapache2-mod-wsgi) - by Drone4four - Mar-17-2018, 08:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  deploying python script on a server rickyrt 0 1,512 Aug-31-2021, 04:03 PM
Last Post: rickyrt
  Django project deployed to Heroku: Postgres security Drone4four 0 1,960 Mar-26-2021, 10:17 AM
Last Post: Drone4four
  creating an exe file for a python django project Sanjish 0 2,656 Dec-27-2020, 07:33 AM
Last Post: Sanjish
  category and subcategory into django project dhirendra007 0 2,037 Dec-26-2020, 10:33 AM
Last Post: dhirendra007
  cant access root environment folder from django folder using __init__.py Sanjish 0 1,946 Dec-25-2020, 05:56 AM
Last Post: Sanjish
  WSGI Multi processing. simbha 1 2,871 May-05-2020, 10:34 AM
Last Post: pyzyx3qwerty
  wsgi server ports chrisdb 3 3,362 Feb-26-2020, 04:24 PM
Last Post: snippsat
  Django project with a setup.py script. That do you think? axju 0 1,658 Oct-22-2019, 10:06 PM
Last Post: axju
  Django: How to automatically substitute a variable in the admin page at Django 1.11? m0ntecr1st0 3 3,406 Jun-30-2019, 12:21 AM
Last Post: scidam
  WSGI server vs Web Server chrisdb 24 10,736 May-29-2019, 02:21 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020