def get_select_sql(self):
        return 'EXTRACT({0} FROM {1})'.format(self.name, self.field.get_select_sql())
Handles 404, page not found exceptions.
dataset/ETHPy150Open ambitioninc/django-query-builder/querybuilder/fields.py/DatePartField.get_select_sql--crossover with--dataset/ETHPy150Open AppScale/appscale/AppDashboard/dashboard.py/handle_404