aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2020-04-08 22:21:59 +0100
committerStephen Finucane <stephen@that.guru>2020-04-08 23:30:49 +0100
commit82e352ae5b4c2f9be666fdccea96845c1dc14d5b (patch)
tree45a1341478bc3103610162b6e64446e8de1852e4 /docs
parentdc9c4fe12c1af3efe578e2ac428aed01969bf95b (diff)
downloadpatchwork-82e352ae5b4c2f9be666fdccea96845c1dc14d5b.tar
patchwork-82e352ae5b4c2f9be666fdccea96845c1dc14d5b.tar.gz
Replace references to Django 1.11 docs
This is a straight forward swap, thankfully. Django 2.2 is chosen as it's the latest LTS. Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'docs')
-rw-r--r--docs/deployment/installation.rst6
-rw-r--r--docs/deployment/upgrading.rst2
-rw-r--r--docs/development/installation.rst2
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/deployment/installation.rst b/docs/deployment/installation.rst
index 12801a7..80b53e3 100644
--- a/docs/deployment/installation.rst
+++ b/docs/deployment/installation.rst
@@ -154,7 +154,7 @@ We will install this under ``/opt``, though this is only a suggestion:
web server's document root as this risks the possibility that people may be
able to view your code over the Web. This is a security risk.
- __ https://docs.djangoproject.com/en/1.11/intro/tutorial01/#creating-a-project
+ __ https://docs.djangoproject.com/en/2.2/intro/tutorial01/#creating-a-project
Next we require Python. If not already installed, then you should do so now.
Patchwork supports both Python 2.7 and Python 3.3+, though we're going to use
@@ -211,7 +211,7 @@ variables, you should export each setting using the appropriate name, such as
``DJANGO_SECRET_KEY``, ``DATABASE_NAME`` or ``EMAIL_HOST``, instead of
modifying the ``production.py`` file as we've done below.
-__ https://docs.djangoproject.com/en/1.11/ref/settings/
+__ https://docs.djangoproject.com/en/2.2/ref/settings/
Databases
^^^^^^^^^
@@ -413,7 +413,7 @@ address(es) from which you will be serving this domain. For example:
ALLOWED_HOSTS = ('.example.com', )
-__ https://docs.djangoproject.com/en/1.11/ref/settings/#allowed-hosts
+__ https://docs.djangoproject.com/en/2.2/ref/settings/#allowed-hosts
Create systemd Unit File
~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/docs/deployment/upgrading.rst b/docs/deployment/upgrading.rst
index d368509..3507da4 100644
--- a/docs/deployment/upgrading.rst
+++ b/docs/deployment/upgrading.rst
@@ -69,4 +69,4 @@ which must be applied before starting the instance. To do this, run the
For more information on migrations, refer to `the Django documentation`__.
-__ https://docs.djangoproject.com/en/1.11/topics/migrations/
+__ https://docs.djangoproject.com/en/2.2/topics/migrations/
diff --git a/docs/development/installation.rst b/docs/development/installation.rst
index d540b76..33ebd96 100644
--- a/docs/development/installation.rst
+++ b/docs/development/installation.rst
@@ -210,7 +210,7 @@ respectively on Debian-based Debian-based distros like Ubuntu and
supported`__. You will find some tests provided by Patchwork fail and some
patches you develop may fail in production due to these differences.
-__ https://docs.djangoproject.com/en/1.11/ref/databases/
+__ https://docs.djangoproject.com/en/2.2/ref/databases/
__ https://www.sqlite.org/faq.html#q18
Example Installation