(records=records)
and a view with {{for record in }}
How can I do this?
Thanks in advance
kellda
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, se
Thanks Massimo
> Mind that the new web2py will have new methods to deal with this
> instead of T2.
Is this in the 1.55 Version or in a newer one?
Thanks
Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2
I have the following tables
db.define_table('tag',
SQLField('name',requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB
(db,'tag.name')] ))
db.define_table('bookmark',
SQLField('title', requires=IS_NOT_EMPTY() ),
SQLField('tag','text'),
...
db.bookmark.tag.requires=IS_IN_DB
(db,'tag.id','tag.nam
Using auth.has_permission for a single record (update, read) is clear
for me but how to check the permission in a form with a list of
records?
def list():
records=db((db.test.id>0)).select()
return dict(records=records)
how to filter only the records with the permission? Do I have to che
Thanks for fast answer.
Such a method would be nice.
Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscri
5 matches
Mail list logo