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)
#9
Thanks for your advice.
I moved the templates folder down the next level from TheGreatWork/ to TheGreatWork/TheGreatWork/.
I also flipped the switch for APP_DIRS from True to False.
Still getting Debug errors: https://daniel496.agency/
Any other ideas?
Thanks again.

Here is part of the debug traceback:

Python Path:	
['/home/<user>/TheGreatWork/venv/lib/python3.4',
 '/home/<user>/TheGreatWork/venv/lib/python3.4/plat-x86_64-linux-gnu',
 '/home/<user>/TheGreatWork/venv/lib/python3.4/lib-dynload',
 '/usr/lib/python3.4',
 '/usr/lib/python3.4/plat-x86_64-linux-gnu',
 '/home/<user>/TheGreatWork/venv/lib/python3.4/site-packages',
 '/home/<user>/TheGreatWork/']
Looks like Django is pointing to Python inside my venv properly most of the time. There are two instances where Python is being referred to the root system, like /usr/lib/python3.4. Is this still an issue?
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  deploying python script on a server rickyrt 0 1,489 Aug-31-2021, 04:03 PM
Last Post: rickyrt
  Django project deployed to Heroku: Postgres security Drone4four 0 1,952 Mar-26-2021, 10:17 AM
Last Post: Drone4four
  creating an exe file for a python django project Sanjish 0 2,638 Dec-27-2020, 07:33 AM
Last Post: Sanjish
  category and subcategory into django project dhirendra007 0 2,014 Dec-26-2020, 10:33 AM
Last Post: dhirendra007
  cant access root environment folder from django folder using __init__.py Sanjish 0 1,924 Dec-25-2020, 05:56 AM
Last Post: Sanjish
  WSGI Multi processing. simbha 1 2,850 May-05-2020, 10:34 AM
Last Post: pyzyx3qwerty
  wsgi server ports chrisdb 3 3,336 Feb-26-2020, 04:24 PM
Last Post: snippsat
  Django project with a setup.py script. That do you think? axju 0 1,649 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,352 Jun-30-2019, 12:21 AM
Last Post: scidam
  WSGI server vs Web Server chrisdb 24 10,599 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