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:
parent
50f9e736fa
commit
ac0cf97cb4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user