0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Removed redundant DateTimeField.register_lookup()s.

DateTimeField inherits these lookups from DateField.
This commit is contained in:
Tim Graham 2016-11-10 10:15:56 -05:00
parent 50f9e736fa
commit ac0cf97cb4

View File

@ -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)