Hi Anthony,
re. the .editable, in the initial period of getting familiar with web2py I
read something somewhere that made me believe you could mark a whole table
as (un)editable.
Obviously wrong. I've deleted that code. Thanks for pointing it out.
re. the non-use of auth.archive, yes, I saw th
No.
On Sunday, May 28, 2017 at 8:50:15 AM UTC-7, Ron Chatterjee wrote:
>
> I understand that. No one is disputing better coding better performance.
> But the question is:
>
> Cython wrapper (
>
> Default. Py
>
> )
> Is it possible. If so how?
>
>
--
Resources:
- http://web2py.com
- http://web
auth.user_id is the id of the logged in user or None if the current user is
not logged in. There is no "default" user. Unless the "quest" and "report"
fields are sometimes set to None rather than an actual user id, your second
set of queries will never return any results.
Anthony
On Saturday,
Is there any way to customise the UI of a smartgrid?
I want to create an admin side according to a specified UI. Please help.
Regards.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py
Looks nice, and the concept is interesting.
FYI, the next button didn't work here on Firefox on android.
What's your hosting model ?
Le sam. 17 juin 2017 à 11:35, Ian Ryder a écrit :
> Thanks Tim, much appreciated - it's quite neat as you can flick from
> device to the other really easily. Assu
db.define_table('answers',
Field('quest', 'text', default =auth. user_id) ,
Field('report', 'text', default =auth. user_id)
auth.signature
)
On default controller :
- replies = db(db.answers).select()
- return dict(replies=r
Thanks Tim, much appreciated - it's quite neat as you can flick from device
to the other really easily. Assumption is people might start on a phone and
decide it's easier on a computer - the nature of the subject means the form
has to be longer than you'd ideally want.
On Friday, 16 June 2017 1
7 matches
Mail list logo