From 664521c56aa72e7749292e4b8d92f093421463b5 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Thu, 5 Dec 2019 09:50:43 +0100 Subject: [PATCH] Refs #31039 -- Removed unnecessary registration of contained_by lookup for BigIntegerField. It's already registered for IntegerField. --- django/contrib/postgres/fields/ranges.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django/contrib/postgres/fields/ranges.py b/django/contrib/postgres/fields/ranges.py index 77a15632eb..b0b9275622 100644 --- a/django/contrib/postgres/fields/ranges.py +++ b/django/contrib/postgres/fields/ranges.py @@ -225,7 +225,6 @@ class RangeContainedBy(lookups.PostgresSimpleLookup): models.DateField.register_lookup(RangeContainedBy) models.DateTimeField.register_lookup(RangeContainedBy) models.IntegerField.register_lookup(RangeContainedBy) -models.BigIntegerField.register_lookup(RangeContainedBy) models.FloatField.register_lookup(RangeContainedBy)