[Twisted-web] HELP! Formless and default values of a widgets
Little
mordaha at gmail.com
Sun May 29 06:42:30 MDT 2005
How can i set default value to a widget, if it must be looked up from a
database?
---
class ISomething(annotate.TypedInterface):
def doSomething(
self,
ctx = annotate.Context(),
foo = annotate.String(*default="this string must be taked from a database at
render time"*),
):
"""Do Something Really Exciting
---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20050529/e9557086/attachment.htm
More information about the Twisted-web
mailing list