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
1 changed files with 0 additions and 4 deletions

View File

@ -117,10 +117,6 @@ TimeField.register_lookup(ExtractHour)
TimeField.register_lookup(ExtractMinute) TimeField.register_lookup(ExtractMinute)
TimeField.register_lookup(ExtractSecond) 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(ExtractHour)
DateTimeField.register_lookup(ExtractMinute) DateTimeField.register_lookup(ExtractMinute)
DateTimeField.register_lookup(ExtractSecond) DateTimeField.register_lookup(ExtractSecond)