[mod_python] Mapping a URI to pages dynamically.

emf i at mindlace.net
Sat May 31 22:47:23 EST 2003

--On 31 Saturday, May 2003 22:04 -0700 emf <i at mindlace.net> wrote:
>> ------ translate.py ------------
>> from mod_python import apache, util
>> from utils import urls
>> import os, string, config
> This code is very useful, but I get an import error on utils; What utils
> module are you using?

Sigh. Obviously i should just use urls.py.

I assume you mean to use req.get_config() instead of trying to import 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mailman.modpython.org/pipermail/mod_python/attachments/20030531/c0066a84/attachment-0003.bin

More information about the Mod_python mailing list