15 Jun
2002
15 Jun
'02
8:35 a.m.
The reason is, that i want to return to a page template from a python script a brain instance that is either the result of a catalog query, or an empty/default instance. Then, the template can fill a form field with either the retrieved values or defaults.
In this situation, why not just return a dictionary for your default? It's probably gonna smell enough like a brain to work as expected... cheers, Chris