[mod_python] Templaing question

marinus van aswegen mvanaswegen at gmail.com
Sun Mar 5 13:33:40 EST 2006


I need some advice; I'm up the creek without a paddle. I wanted to quickly
hack together a small project. I like python so, I thought hey lets try
mod_python. I got some of the hard stuff sorted quickly e.g. login
functions, session handling, etc. When it came to the presentation stuff I
had a quick look at some of the templating toolkits out there, they scared
me! I wanted something simple so I quickly hacked together a

simple templating system, that loaded my html files, replaced the tags I hid
in them with the data I wanted send to the browser via req.write. The
problem is that it renders the page in a weird way, kinda like it doesn't
give the browser a chance to interpret the css. Where do I go from here, I
want to give the client tables of data formatted with nice css.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20060305/7896f32b/attachment.html

More information about the Mod_python mailing list