From bbe818b23c60415734da1a7a3ced92ab42601069 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 20 Apr 2014 08:32:57 +0200 Subject: [PATCH] Changed paths in docs that referred to Python 2. --- docs/howto/deployment/wsgi/modwsgi.txt | 4 ++-- docs/ref/applications.txt | 2 +- docs/ref/contrib/gis/gdal.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/howto/deployment/wsgi/modwsgi.txt b/docs/howto/deployment/wsgi/modwsgi.txt index 2658e9d31be..b021dda2091 100644 --- a/docs/howto/deployment/wsgi/modwsgi.txt +++ b/docs/howto/deployment/wsgi/modwsgi.txt @@ -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 diff --git a/docs/ref/applications.txt b/docs/ref/applications.txt index ef067c20326..ddfb8839068 100644 --- a/docs/ref/applications.txt +++ b/docs/ref/applications.txt @@ -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 diff --git a/docs/ref/contrib/gis/gdal.txt b/docs/ref/contrib/gis/gdal.txt index 0dfcc520e61..158b6f3aadc 100644 --- a/docs/ref/contrib/gis/gdal.txt +++ b/docs/ref/contrib/gis/gdal.txt @@ -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