community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlenfer...@apache.org
Subject svn commit: r1888908 - /comdev/nearby_people/run_wsgi.py
Date Sun, 18 Apr 2021 15:26:42 GMT
Author: rlenferink
Date: Sun Apr 18 15:26:42 2021
New Revision: 1888908

URL: http://svn.apache.org/viewvc?rev=1888908&view=rev
Log:
Python does require the parent dir, therefore move around dirs to previous location

Modified:
    comdev/nearby_people/run_wsgi.py

Modified: comdev/nearby_people/run_wsgi.py
URL: http://svn.apache.org/viewvc/comdev/nearby_people/run_wsgi.py?rev=1888908&r1=1888907&r2=1888908&view=diff
==============================================================================
--- comdev/nearby_people/run_wsgi.py (original)
+++ comdev/nearby_people/run_wsgi.py Sun Apr 18 15:26:42 2021
@@ -18,7 +18,7 @@ import sys, os
 # The path needs to contain the installed directory (i.e. the directory with
 #  this file in it), the parent of the installed directory, wherever your
 #  Django install is, plus the system path
-sys.path = [ '/var/www/nearby_people/', '/var/www/apps/Django-1.11.29' ] + sys.path
+sys.path = [ '/var/www/apps/', '/var/www/apps/nearby_people/', '/var/www/apps/Django-1.11.29'
] + sys.path
 
 # Tell the Django WSGI handler which settings file to bootstap from
 os.environ["DJANGO_SETTINGS_MODULE"] = "nearby_people.settings"



Mime
View raw message