def year_lookup_bounds_for_date_field(self, value):
        first = datetime.date(value, 1, 1)
        second = datetime.date(value, 12, 31)
        return [first, second]
Returns a two-elements list with the lower and upper bound to be used
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/backends/__init__.py/BaseDatabaseOperations.year_lookup_bounds_for_date_field