source: trunk/web/templates/templates.py @ 235

Last change on this file since 235 was 235, checked in by ecprice, 16 years ago

Use the compiled Cheetah templates.

This means that you really need to run make after any change to the
template, though.

File size: 343 bytes
Line 
1__all__ = 'info command error help invalid list vnc'.split()
2for _name in __all__:
3    try:
4        _module = __import__(_name, globals(), {}, [_name])
5        globals()[_name] = getattr(_module, _name)
6    except ImportError, e:
7        import sys
8        print >> sys.stderr, 'Importing template "%s" raised error: %s' % (_name, e)
9       
Note: See TracBrowser for help on using the repository browser.