Which web.py version?

On Mon, May 9, 2011 at 10:03 AM, Dexter <sci.cr...@gmail.com> wrote:

> I know this is more of a webpy forum than a python one but can
> somebody please help
>
> On May 9, 2:02 am, Dexter <sci.cr...@gmail.com> wrote:
> > Errata:
> > Missed ON APPENGINE in the last post
> >
> > On May 9, 1:59 am,Dexter<sci.cr...@gmail.com> 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 webpy@googlegroups.com.
> To unsubscribe from this group, send email to
> webpy+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>
>


-- 
http://www.wolfhowlmedia.com

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

Reply via email to