Hi all
I know auth.requires_login can be used, also auth.requires_has membership.
If I want to query the records created by a group can this be done.
I want to be able to have certain groups to be only able to query certain
record of the same table.
Cheers
Anthony
--
Resources:
- http:/
Hi, I have a question about export pdf a Sqlform Grid. For me generate the
pdf is not a problem I can use wkhtmltopdf, but I see that you can export
the grid in csv format, html format ecc...Because not in pdf? I think is
useful to create in the framework default function for this operation, I
Français :
http://sametmax.com/lencoding-en-python-une-bonne-fois-pour-toute/
:)
I am not sure that what you say is correct... Did you try to look at these
hardcoded code into the browser? Also, if you need to use the magic T(), it
makes no sens to have different language code into the applicatio
Are you saying you want to limit the query to records created by members of
a specific auth_group? Assuming you have stored the auth_user IDs in
something like a "created_by" field, you could do:
group_members = db(db.auth_membership.group_id ==
auth.id_group('my role'))._sele
Hi All!
I need create a report with record versioning. How to union table with
table_archive?
Thanks!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
Yo
My notes below:
On Friday, November 27, 2015 at 11:35:44 AM UTC-8, Antonio Salazar wrote:
>
> My projects are small enough that I can consider switching from migrated
> to legacy databases. I feared I was overlooking something, but it really
> seems like migrations, in some cases, will just shif
what is syntax for making links conditional in grid?
I only want links to appear if db.auth_membership.is_active == True
links = [dict(header='Cancel connection', body=lambda row: A('Withdraw my
invitation', _href=URL('delete_connection_request_i_sent',
args=row.auth_membership.id,
if is
please try :
if db.auth_membership.is_active == True:
links = [...]
else:
links = None
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--
the error traceback is say about the field customer is empty, so i
encountered it with IS_EMPTY_OR(IS_IN_DB() ) form validation. but it's not
the main problem,
the main problem is when using form.validate() it seems that boolean field
type always return false answer even i already tick mark the
Hi guys, I develop systems with web2py for some time but nothing too big.
I love the web2py but I am worried about the future.
I am beginning to develop a large system for an miltinacional corporation.
Web2py will continue to be maintained for a long time?
Maintaining compatibility?
There will be i
is web2py not correctly working on firefox anymore? the welcome app guy is
not usable in firefox 42.0 on OS X El Capitan. works however well on
Safari. anyone out there who has same problem and a solution?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://githu
Yarin Hello, good afternoon, I take your question to answer in general
terms as used in web2py Procedures.
1- sure that the database engine you use supports stored procedures (ex:
mysql, postgresql, Sybase, Oracle, etc).
2- must create the procedure in the database using the SQL client that
corr
Fancytree looks to me as a nice javascript library to generate trees (
https://github.com/mar10/fancytree/wiki).
Unfortunatily I don't get it to work in Web2py.
I just installed the libraries etc and copied some code from the examples
websites, but the function fancytree doesnothing.
This is
I have a request that takes about 25 seconds to complete, and I want to
stop it when a user clicks on a link.
By now i'm able to stop the ajax request but i can't figure out how to stop
the python process.
How can I do this?
I'm very lose with this problem.
Regards.
--
Resources:
- http:/
Not sure I understand, why union (join?)? is this because the last record
is not the archive table?
On Monday, 30 November 2015 11:31:46 UTC-6, Fabiano Almeida wrote:
>
> Hi All!
>
> I need create a report with record versioning. How to union table with
> table_archive?
>
> Thanks!
>
--
Resour
The answer is yes to all of the questions. If you monitor the activity you
will notice the number of contributions and contributors has increased over
time.
Web2py will continue to grow and be maintained, many of us have invested
significatively in it and it will remain backward compatible, but
What do it mean "not working", can you give us more info?
On Monday, 30 November 2015 23:02:59 UTC-6, Wolf-Dieter Klotz wrote:
>
> is web2py not correctly working on firefox anymore? the welcome app guy is
> not usable in firefox 42.0 on OS X El Capitan. works however well on
> Safari. anyone ou
On 1 December 2015 at 04:08, Henk huisman wrote:
>
> This is the code I tried:
>
>
> "text/javascript">
>
Hi Anthony,
Thanks ,but I am getting the following error,
IndexError: list index out of range
group_members = db(db.auth_membership.group_id ==
auth.id_group('user'))._select(db.auth_membership.user_id)
@auth.requires_login()
def companys():
db.company.created_on.readable = True
19 matches
Mail list logo