def year_lookup_bounds_for_date_field(self, value):
    "\n        Returns a two-elements list with the lower and upper bound to be used\n        with a BETWEEN operator to query a DateField value using a year lookup\n\n        `value` is an int, containing the looked-up year.\n\n        By default, it just calls `self.year_lookup_bounds`. Some backends need\n        this hook because on their DB date fields can't be compared to values\n        which include a time part.\n        "
    return self.year_lookup_bounds(value)
Returns a two-elements list with the lower and upper bound to be used
with a BETWEEN operator to query a DateField value using a year lookup

`value` is an int, containing the looked-up year.

By default, it just calls `self.year_lookup_bounds`. Some backends need
this hook because on their DB date fields can't be compared to values
which include a time part.
def year_lookup_bounds_for_date_field(self, value):
    "\n        Returns a two-elements list with the lower and upper bound to be used\n        with a BETWEEN operator to query a DateField value using a year lookup\n\n        `value` is an int, containing the looked-up year.\n\n        By default, it just calls `self.year_lookup_bounds`. Some backends need\n        this hook because on their DB date fields can't be compared to values\n        which include a time part.\n        "
    return self.year_lookup_bounds(value)