'Default value for datetime.
Returns:
value of now() as appropriate to the date-time instance if auto_now
or auto_now_add is set, else user configured default value implementation.'

def default_value(self):

    if (self.auto_now or self.auto_now_add):
        return self.now()
    return Property.default_value(self)
