Closed GoogleCodeExporter closed 9 years ago
We need a global config but i like to see it as a (fake ?) module to be able to
set/get the configuration options with attributes instead of keys.
Another good idea is to provide a way to configure FA with a paste
configuration.
Like beaker do in pylons:
beaker.session.key = pylonsapp
beaker.session.secret = somesecret
For formalchemy we can have:
formalchemy.encoding = utf-8
formalchemy.template_engine = tempita
i also like to see something like this as a template engine wrapper:
config.template_engine = MakoTemplate(output_encoding='utf-8',
**other_specific_engine_options)
then:
config.template_engine.render(template_name, **kwargs)
If you want to write a patch for this, be aware that the output is unit tested
with
Tempita *and* mako. We want to test both.
Original comment by gael.pas...@gmail.com
on 20 Feb 2009 at 12:42
I've implemented all of this
Original comment by gael.pas...@gmail.com
on 21 Feb 2009 at 6:07
Original issue reported on code.google.com by
klein.stephane
on 15 Feb 2009 at 9:36Attachments: