diff --git a/django/db/models/functions/datetime.py b/django/db/models/functions/datetime.py index 6294bc3b94..341c53e162 100644 --- a/django/db/models/functions/datetime.py +++ b/django/db/models/functions/datetime.py @@ -117,10 +117,6 @@ TimeField.register_lookup(ExtractHour) TimeField.register_lookup(ExtractMinute) TimeField.register_lookup(ExtractSecond) -DateTimeField.register_lookup(ExtractYear) -DateTimeField.register_lookup(ExtractMonth) -DateTimeField.register_lookup(ExtractDay) -DateTimeField.register_lookup(ExtractWeekDay) DateTimeField.register_lookup(ExtractHour) DateTimeField.register_lookup(ExtractMinute) DateTimeField.register_lookup(ExtractSecond)