examples/Common/Recursive/__init__.py | raw changeset files shortlog |
1.1 --- a/examples/Common/Recursive/__init__.py Sat Mar 04 18:53:12 2006 +0000 1.2 +++ b/examples/Common/Recursive/__init__.py Sat Mar 04 18:53:32 2006 +0000 1.3 @@ -75,4 +75,10 @@ 1.4 1.5 return RecursiveResource() 1.6 1.7 +# Resource preparation ahead of time - useful for making installations. 1.8 + 1.9 +def prepare_resources(): 1.10 + for cls in [RecursiveResource]: 1.11 + XSLForms.Resources.WebResources.prepare_resources(cls) 1.12 + 1.13 # vim: tabstop=4 expandtab shiftwidth=4