Gregory (Grisha) Trubetskoy
grisha at modpython.org
Fri May 2 14:12:00 EST 2003
http://www.modpython.org/live/current/doc-html/pyapi-util-funcs.html from mod_python import util parse_qsl = util.parse_qsl :-) On Fri, 2 May 2003, Marco Lopes wrote: > I'm trying to use mod_python 3.0.3 with apache 2.0.45, and i was trying > to use apache.parse_qsl to parse que contents of the POST, but i'm > getting this error message: > > Mod_python error: "PythonHandler template" > > Traceback (most recent call last): > > File "/usr/lib/python2.2/site-packages/mod_python/apache.py", line > 320, in HandlerDispatch > module = import_module(module_name, config) > > File "/usr/lib/python2.2/site-packages/mod_python/apache.py", line > 499, in import_module > module = imp.load_module(mname, f, p, d) > > File "/usr/local/apache2/htdocs/python/template.py", line 4, in ? > parse_qsl = apache.parse_qsl > > AttributeError: 'module' object has no attribute 'parse_qsl' > > I looked trough the documentation and the didn't find any reference to > the function beeing deprecated so i think i'm doing something wrong, the > code i'm using and that is causing the error is: > > > from mod_python import apache > > > parse_qsl = apache.parse_qsl > > > Can anyone give me a clue of what am i doing wrong? > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python >
|