AttributeError: type object 'datetime.date' has no attribute 'now'