def validation_compare_dates_in_range(self, date1, date2):
        try:
            end_date = datetime.datetime.strptime(date2, settings.DATE_FORMAT)
            date = datetime.datetime.strptime(date1, settings.DATE_FORMAT)
            delta = end_date - date
            if delta > datetime.timedelta(0):
                return True
        except Exception, e:
            # Not datetime or improper datetime values given. Rising no exception.
            log.error('Search validation exception: %s' % e)
            pass
        return False
The Selenium webdriver object. Use this to control the browser.
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/core/search.py/DMSSearchManager.validation_compare_dates_in_range--crossover with--dataset/ETHPy150Open zoofIO/flexx/flexx/webruntime/selenium.py/SeleniumRuntime.driver