Hi Luke, Kent,
Thanks the solution worked.
--
Thanks & Regards
Parag Shah
http://blog.adaptivesoftware.biz
On 9/23/09, Luke Paireepinart wrote:
> Yeah looks like Kent had the same recommendation.I would suggest you don't
> import from draft, because they will probably change the version numbe
Yeah looks like Kent had the same recommendation.I would suggest you don't
import from draft, because they will probably change the version number of
pape at some point.
That's why they aliased it as openid.extensions.pape, so they can update it
without breaking your code. Seems odd that they woul
Hi Luke,
If I get into the Python prompt, the following line does succeed (so
it seems like __init__.py is being processed):
>>> from openid.extensions import pape
But this one fails because pape is not found... this is very strange:
>>> from openid.extensions.pape import Request as PapeRequest
On Tue, Sep 22, 2009 at 1:56 PM, Parag Shah wrote:
> Hi,
>
> I am using django-openid-consumer, which has a line in it's views.py
> which results in an error due to module not found -
>
> from openid.extensions.pape import Request as PapeRequest
>
> where 'openid.extensions' comes from python-open
It looks to me like your __init__.py is transparently
mapping openid.extensions.pape to openid.extensions.pape5 but when you try
to do a direct import from openid.extensions.pape it doesn't process the
__init__.py. I've never seen something like this but from your example
that's my first guess.Try
Hi,
I am using django-openid-consumer, which has a line in it's views.py
which results in an error due to module not found -
from openid.extensions.pape import Request as PapeRequest
where 'openid.extensions' comes from python-openid-2.2.4 (installed
using 'python setup.py install'), which has a