As Alan said, can you provide a more detailed example?  

Super general example though would be in your view named 
your_page_name.html you place
{{=the_record_you_wanted}}

And in your default.py controller you would assign it a value for 
the_record_you_want by doing

def your_page_name():
    get_my_record = db(db.tablename.fieldname=="this 
record").select().first()
    return dict(the_record_you_wanted=get_my_record)

now of course this will give a long jumble of data in your html, but at 
least you can see the steps in the process.

On Friday, August 23, 2013 7:21:42 AM UTC-4, zakaria danone wrote:
>
>
> Hello the world
> i'm new in web2py 
> i have created my db in db.py but i can't access it directly in my app 
> eccept if i go to db.py
> pls can't sombody guide i want to view derectly de db and the record on my 
> site Thanks
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to