admin does not have a db and, in my opinion, should not have one.

I am still a bit lost about what you want to do.

On Mar 15, 7:21 am, Wes James <compte...@gmail.com> wrote:
> Massimo,
>
> can not db.select() be used in /admin....  0.py, etc. ?
>
> On Saturday, March 13, 2010, snfctech <tschm...@sacfoodcoop.com> wrote:
> > I'm not sure I can help, but I would like to know what you're talking
> > about.
>
> > What "edit_area api helper"?
>
> > Can't you view your tickets directly in the errors directory?
>
> > On Mar 13, 8:10 pm, Wes James <compte...@gmail.com> wrote:
> >> In building the edit_area api helper I finally got the ajax to return
> >> data in to the box with the apis to click on.  I'm not trying to build
> >> a sqlite db with some test data.  I put this in 0.py:
>
> >> db = DAL('sqlite://storage.sqlite')
>
> >> db.define_table(
> >>     'apis',
> >>     Field('api'),
> >>     Field('info')
> >>     )
>
> >> and the database is create ok in admin/databases, but when I do any
> >> sort of call with db().select() i'm getting an error and I can't view
> >> tickets without generation an error.  Is admin supposed to be like
> >> this (there is no crud interface like regular apps either) - maybe it
> >> was designed like this for admin.  Is there a problem with accessing
> >> databases from admin?
>
> >> thx,
>
> >> -wes
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "web2py-users" group.
> > To post to this group, send email to web...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > web2py+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/web2py?hl=en.

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

Reply via email to