[Grok-dev] How do I get current day as default in interface schema definition?
sebastian at urbantalk.se
Tue Feb 17 06:41:40 EST 2009
I am realising that the current schema definition default value is
useless since it is evaluated only at startup. Is there some way to
get grok to reevaluate the default value in a schema definition at
runtime? Or is there some other recommended way of passing the current
day as default to the add form?
publish_date = schema.Date(title=u'Publish Date', required = False,
More information about the Grok-dev