[Chicago] import question

Chris McAvoy chris.mcavoy at gmail.com
Wed Jan 23 16:58:26 CET 2008

On Jan 23, 2008 9:25 AM, Massimo Di Pierro <mdipierro at cs.depaul.edu> wrote:
> specifically I am trying to place the python-openid module
> into web2py.gluon.contrib folder. I submitted a ticket to the openid
> people. Worst case scenario I will edit all of their .py files and
> change the imports.

The Django guys package up simplejson in the django distribution, I
just checked, and they had to edit the imports in simplejson's

"""from django.utils.simplejson.decoder import JSONDecoder
from django.utils.simplejson.encoder import JSONEncoder"""

So, yeah, I think you have to edit the code a bit.


More information about the Chicago mailing list