NameError: global name 'Response' is not defined

Lalit lalitkrishna at gmail.com
Thu Apr 24 10:27:36 EDT 2008


Hi

I am very new to web development.  I started with Pylons. I am using
http://www.rexx.com/~dkuhlman/pylons_quick_site.html as reference to
create a sample web page using pylons.

I got stuck up at step 4.3 i.e when modifying controller to "return
Response('<p>firstapp default</p>')"

I am getting error of <type 'exceptions.NameError'>: global name
'Response' is not defined

It seems I am missing some package. I am not really sure. I installed
python 2.5 and through easy_install imported pakages (pylons).

Any clues would be appreciated

Thanks
Lalit



More information about the Python-list mailing list