From 21cc09740343e89c951fa7fd9532a4eb62e1c8d7 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 28 Jan 2020 16:58:39 -0800 Subject: [3.0.x] Fixed #31212 -- Updated psycopg links to HTTPS and new location. Backport of 958977f662d878c299b3599282f005c3469dbef9 from master --- django/db/backends/postgresql/base.py | 2 +- django/db/backends/postgresql/operations.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'django/db') 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() -- cgit v1.3