Loading docs/howto/deployment/wsgi/modwsgi.txt +2 −2 Original line number Diff line number Diff line Loading @@ -79,10 +79,10 @@ if using a UNIX-like system, or a semicolon (``;``) if using Windows. If any part of a directory path contains a space character, the complete argument string to ``WSGIPythonPath`` must be quoted:: WSGIPythonPath /path/to/mysite.com:/path/to/your/venv/lib/python2.X/site-packages WSGIPythonPath /path/to/mysite.com:/path/to/your/venv/lib/python3.X/site-packages Make sure you give the correct path to your virtualenv, and replace ``python2.X`` with the correct Python version (e.g. ``python2.7``). ``python3.X`` with the correct Python version (e.g. ``python3.4``). .. _virtualenv: http://www.virtualenv.org Loading docs/ref/applications.txt +1 −1 Original line number Diff line number Diff line Loading @@ -172,7 +172,7 @@ Configurable attributes .. attribute:: AppConfig.path Filesystem path to the application directory, e.g. ``'/usr/lib/python2.7/dist-packages/django/contrib/admin'``. ``'/usr/lib/python3.4/dist-packages/django/contrib/admin'``. In most cases, Django can automatically detect and set this, but you can also provide an explicit override as a class attribute on your Loading docs/ref/contrib/gis/gdal.txt +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ each feature in that layer. >>> from django.contrib.gis.gdal import DataSource >>> ds = DataSource(CITIES_PATH) >>> ds.name # The exact filename may be different on your computer '/usr/local/lib/python2.7/site-packages/django/contrib/gis/tests/data/cities/cities.shp' '/usr/local/lib/python3.4/site-packages/django/contrib/gis/tests/data/cities/cities.shp' >>> ds.layer_count # This file only contains one layer 1 Loading Loading
docs/howto/deployment/wsgi/modwsgi.txt +2 −2 Original line number Diff line number Diff line Loading @@ -79,10 +79,10 @@ if using a UNIX-like system, or a semicolon (``;``) if using Windows. If any part of a directory path contains a space character, the complete argument string to ``WSGIPythonPath`` must be quoted:: WSGIPythonPath /path/to/mysite.com:/path/to/your/venv/lib/python2.X/site-packages WSGIPythonPath /path/to/mysite.com:/path/to/your/venv/lib/python3.X/site-packages Make sure you give the correct path to your virtualenv, and replace ``python2.X`` with the correct Python version (e.g. ``python2.7``). ``python3.X`` with the correct Python version (e.g. ``python3.4``). .. _virtualenv: http://www.virtualenv.org Loading
docs/ref/applications.txt +1 −1 Original line number Diff line number Diff line Loading @@ -172,7 +172,7 @@ Configurable attributes .. attribute:: AppConfig.path Filesystem path to the application directory, e.g. ``'/usr/lib/python2.7/dist-packages/django/contrib/admin'``. ``'/usr/lib/python3.4/dist-packages/django/contrib/admin'``. In most cases, Django can automatically detect and set this, but you can also provide an explicit override as a class attribute on your Loading
docs/ref/contrib/gis/gdal.txt +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ each feature in that layer. >>> from django.contrib.gis.gdal import DataSource >>> ds = DataSource(CITIES_PATH) >>> ds.name # The exact filename may be different on your computer '/usr/local/lib/python2.7/site-packages/django/contrib/gis/tests/data/cities/cities.shp' '/usr/local/lib/python3.4/site-packages/django/contrib/gis/tests/data/cities/cities.shp' >>> ds.layer_count # This file only contains one layer 1 Loading