Errata:
Missed ON APPENGINE in the last post

On May 9, 1:59 am, Dexter <[email protected]> wrote:
> I am trying to adapt the authentication code described here to be used
> with webpy ON APPENGINE
http://jpscaletti.com/webpy_auth/
>
> As such my folder structure in appengine becomes
> /
>  web
>     contrib
>         auth
>             dbauth.py
>             views.py
>     db.py
>     .
>     .
>     wsgi.py
>  app.yaml
>  foo.py
>
> However in views.py when I use something like
> import web.contrib.auth.dbauth as dbauth
>
> it throws an error saying
> ------------------------------------------------------------------------------------
> import web.contrib.auth.dbauth as dbauth
> AttributeError: 'module' object has no attribute 'contrib'
> ------------------------------------------------------------------------------------
>
> Cant understand where I am going wrong. By the way all the folders
> have an __init__.py. They were not there initially but I did not them.
> I am not sure once the SDK is restarted it would allows compiles again
> with the __init__.py
>
> Any help please
>
> Thanks & Regards
> PK

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to