summaryrefslogtreecommitdiff
path: root/django/db
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-01-28 16:58:39 -0800
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-01-29 06:53:43 +0100
commit21cc09740343e89c951fa7fd9532a4eb62e1c8d7 (patch)
tree4490ed8676aade50c13dd02acd3ae877a2109318 /django/db
parentd346f075d06aeb501ddbc3f6a0870c78bea1a9e9 (diff)
[3.0.x] Fixed #31212 -- Updated psycopg links to HTTPS and new location.
Backport of 958977f662d878c299b3599282f005c3469dbef9 from master
Diffstat (limited to 'django/db')
-rw-r--r--django/db/backends/postgresql/base.py2
-rw-r--r--django/db/backends/postgresql/operations.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py
index eea8aeb135..87a52f26d3 100644
--- a/django/db/backends/postgresql/base.py
+++ b/django/db/backends/postgresql/base.py
@@ -1,7 +1,7 @@
"""
PostgreSQL database backend for Django.
-Requires psycopg 2: http://initd.org/projects/psycopg2
+Requires psycopg 2: https://www.psycopg.org/
"""
import asyncio
diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py
index 0b326f0e66..0120bc4c0d 100644
--- a/django/db/backends/postgresql/operations.py
+++ b/django/db/backends/postgresql/operations.py
@@ -229,7 +229,7 @@ class DatabaseOperations(BaseDatabaseOperations):
return ['DISTINCT'], []
def last_executed_query(self, cursor, sql, params):
- # http://initd.org/psycopg/docs/cursor.html#cursor.query
+ # https://www.psycopg.org/docs/cursor.html#cursor.query
# The query attribute is a Psycopg extension to the DB API 2.0.
if cursor.query is not None:
return cursor.query.decode()