# HG changeset patch # User Branko Majic # Date 2013-08-18 23:56:22 # Node ID 89af51928504c57d244670624e437eba0c76e6f6 # Parent b2db24035b3d7d0dca4f8c7c06abf7ff0734e6f2 DMT-1: Fix the calls to os.path. diff --git a/project/project_name/wsgi.py b/project/project_name/wsgi.py --- a/project/project_name/wsgi.py +++ b/project/project_name/wsgi.py @@ -16,7 +16,7 @@ framework. import os # Set-up the virtual environment. -activate_this = path.abspath(path.join(path.dirname(__file__), "../../virtualenv/bin/activate_this.py")) +activate_this = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../virtualenv/bin/activate_this.py")) execfile(activate_this, dict(__file__=activate_this)) # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This breaks