[web2py] Tip - Using multiple web2py templates

2020-06-01 Thread Rodrigo Attique
After a lot of brainstorming I found a way to allow web2py to use multiple templates. Perhaps for the elderly it is not a novelty, but for the youngest ... This will be a hand in the wheel. Link: https://web2pymania.blogspot.com/2020/06/using-multiple-web2py-templates.html -- Resources: - http

[web2py] DICA - Usando multiplos templates no web2py

2020-06-01 Thread Rodrigo Attique
Depois de muito quebrar a cabeça encontrei uma maneira de permitir que o web2py use multiplos templates. Talvez para os mais velhos não seja uma novidade, mas para os mais jovens... Isso vai ser uma mão na roda. Segue link https://web2pymania.blogspot.com/2020/06/usando-multiplos-templates-web2

[web2py] Re: New web2py version - Bug Plugins (SOLVED)

2020-05-04 Thread Rodrigo Attique
Solved in: 3f2b1fe <https://github.com/web2py/web2py/commit/3f2b1fe9ca5edbc0763c257971067ab65ec91f84> Em sábado, 2 de maio de 2020 11:31:42 UTC-3, Rodrigo Attique escreveu: > > Helo, I testing a new web2py version and when I try access the Download > Repository Plugins on plug

[web2py] Re: New web2py version - Bug Plugins

2020-05-04 Thread Rodrigo Attique
I open a ticket on github https://github.com/web2py/web2py/issues/2317 Em sábado, 2 de maio de 2020 11:31:42 UTC-3, Rodrigo Attique escreveu: > > Helo, I testing a new web2py version and when I try access the Download > Repository Plugins on plugins (admin) the ticket is generate. &

[web2py] Re: custom form web2py not work when i use selectpicker

2018-08-21 Thread Rodrigo Gomes
rson}} > {{=form.custom.submit}} > {{=form.custom.end}} > > Good luck > > -Jim > > On Tuesday, August 21, 2018 at 2:57:33 PM UTC-5, Rodrigo Gomes wrote: >> >> I just tested with {{= form}} and it really worked, so the problem is >> between >> >> > me

[web2py] Re: custom form web2py not work when i use selectpicker

2018-08-21 Thread Rodrigo Gomes
=IS_IN_DB to the fields in your model. I'd do this just > to make sure that SQLFORM.factory is working as expected. Make sense? > > > http://web2py.com/books/default/chapter/29/07/forms-and-validators#Database-validators > > -Jim > > On Tuesday, August 21, 2018 at

Re: [web2py] custom form web2py not work when i use selectpicker

2018-08-21 Thread Rodrigo Gomes
thanks, but the problem is not adding the selectpicker in the selects, the problem is that by adding it to any select it does not recognize the input data terça-feira, 21 de Agosto de 2018 às 14:17:48 UTC-3, Carlos Correia escreveu: > > Às 00:39 de 17-08-2018, Rodrigo Gomes es

[web2py] Re: custom form web2py not work when i use selectpicker

2018-08-21 Thread Rodrigo Gomes
i really think its a bug in form.factory, i tried modify by the controller too, like form.element(_id=no_table_cities).update(_class="selectpicker") and no sucess. terça-feira, 21 de Agosto de 2018 às 13:31:38 UTC-3, Rodrigo Gomes escreveu: > > @auth.requires_login() > def

[web2py] Re: custom form web2py not work when i use selectpicker

2018-08-21 Thread Rodrigo Gomes
es_list? > > On Thursday, August 16, 2018 at 4:39:35 PM UTC-7, Rodrigo Gomes wrote: >> >> >> Good evening, folks, I've come here to unveil a mystery, I'm developing >> an application with web2py, (framework that I use about 3 years ago) >> >> I a

[web2py] Re: custom form web2py not work when i use selectpicker

2018-08-21 Thread Rodrigo Gomes
terça-feira, 21 de Agosto de 2018 às 10:10:39 UTC-3, Peng Wang escreveu: > > How did you define your cities_list? > > On Thursday, August 16, 2018 at 4:39:35 PM UTC-7, Rodrigo Gomes wrote: >> >> >> Good evening, folks, I've come here to unveil a mystery, I&

[web2py] Re: custom form web2py not work when i use selectpicker

2018-08-20 Thread Rodrigo Gomes
some one help me pleas quinta-feira, 16 de Agosto de 2018 às 20:39:35 UTC-3, Rodrigo Gomes escreveu: > > > Good evening, folks, I've come here to unveil a mystery, I'm developing an > application with web2py, (framework that I use about 3 years ago) > > I am usin

[web2py] custom form web2py not work when i use selectpicker

2018-08-16 Thread Rodrigo Gomes
Good evening, folks, I've come here to unveil a mystery, I'm developing an application with web2py, (framework that I use about 3 years ago) I am using sqlform.factory, passing 2 tables, being that I do this to fill in a single form, table, person and address, for better understanding follows

[web2py] system project manager in web2py

2018-07-29 Thread Rodrigo attique santana
Hi guys. I was looking for and found nothing about web2py project management systems. Do you know if there is any such project? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/

[web2py] Re: JSON field with MySQL database

2018-07-14 Thread Rodrigo Sacht
from gluon.dal import SQLCustomType json_type = SQLCustomType(type ='text', native='JSON', encoder=(lambda x: x), decoder=(lambda x: x) ) db.define_table('product_country_search', Field("init_search",

[web2py] Auto Complete Forms

2017-06-20 Thread Rodrigo Corvalan
Dear I am new to web2py I would like to know if it is possible to auto complete a form from an input. This would be so. I would like to load the product code and autocomplete the rest of the form through a query.

[web2py] Edition Form with multiple tables and SQLFORM.factory

2017-05-29 Thread Rodrigo attique santana
Hello my friends, as I did not find anything in the international and national forums and no solution on the internet, I decided to post my question. I have the following table structure: ## DB models.py db.define_table( 'pessoas' ,Field('pes_nome_razao_social' ,notnull=True

[web2py] web2py with firebase

2017-04-19 Thread Rodrigo Gomes
hello guys, I searched the web and did not find anything referring to web2py and the google database FireBase would like to know if someone know way to use the same with web2py waiting for feedback, thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://git

Re: [web2py] Re: Comparar hash dinamicamente em uma consulta

2017-03-20 Thread Rodrigo attique santana
the web2py international group , would sugest you post the ask in > english too. > > Or so to post in portuguese group's web2py , there are person help too. > > But what you want to do is validate the user login? > > Em sábado, 18 de março de 2017 15:57:05 UTC-3, Rodr

[web2py] Comparar hash dinamicamente em uma consulta

2017-03-18 Thread Rodrigo attique santana
Olá meus amigos. Estou postando esta dúvida aqui pois não encontrei nada na net e acredito que possa ser de utilidade para muitos. Tenho a seguinte estrutura: Clientes = db.define_table('clientes' ,Field('nome') ,Field('documento',unique=True)

[web2py] Re: why you should upgrade to web2py 2.13.4

2016-12-21 Thread Rodrigo attique santana
Hello, I recently upgraded my version of web2py to 2.13, however I am having compatibility issues on projects created in version 2.11, which do not run in this version. The same is true for projects created in version 2.13. Em sábado, 26 de dezembro de 2015 06:22:27 UTC-2, Massimo Di Pierro e

[web2py] foreign key constraint failed occurring custom table insertion, or foreign key is set to "None"

2015-09-01 Thread Rodrigo Palacios
First off, I want to say thank you to the contributors of this group and of the codebase, web2py is a godsend! Now to my problem. Like the title implies, I'm getting two separate issues depending on how I set up my controller logic. This first one produces an IntegrityError. My controller: @

[web2py] Foreign key constraint failed (and other woes) in table with two different table references.

2015-09-01 Thread Rodrigo Palacios
Field('user_id', 'reference auth_user', #default=auth.user.id, writable=False, readable=False), redefine=True) db.text_messages.phone_number_id.requires = IS_IN_DB(db, 'numbers.id', '%(phone_number)s&

[web2py] Using android for development

2014-12-22 Thread Rodrigo Cesar
Hi everybody, i have everyday some free time and want to use it to develop a program i'll use, but the only machine i have on hands is a android tablet, i've read it's possible to run web2py on android, my question is: is it possible to use android to develop? I don't realy need a very good plat

[web2py] Extra fields in auth using CAS

2014-11-24 Thread Rodrigo
ps, i intend to add this field to auth so i can read it when i'll add another record... -- Rodrigo -- 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) ---

[web2py] automate one to many on three tables

2014-11-19 Thread Rodrigo
the most i can on python. -- Rodrigo -- 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) --- You received this message because you are subscribed to the Goo

[web2py] Is there a way to use a authentication on many applications?

2014-11-05 Thread Rodrigo Cesar
I have asked this question before but it seems that it disapeared (i could no find it,) so forgive me if you seing it again, well the question is, i want to divide my program in a group of applications, but i wanted the same authentication to work on all off them (the user logins on main app and

[web2py] newbie question about login

2014-11-03 Thread Rodrigo Cesar
Hi all, i'm new to web2py,i was wondering if it's possibly to use the same authentication for various apps,my idea is to write my application modular where each part of the sistem will ne a stand alone aplication. But the user should loggin only once. -- Resources: - http://web2py.com - http:/

[web2py] web2py.com

2010-08-11 Thread Rodrigo Lira
What's happening with web2py.com ? Rodrigo C. Lira Eng. de Computação 08.2 Universidade de Pernambuco http://rodrigolira.wordpress.com

[web2py:16464] Re: Datetime bug?

2009-02-17 Thread Rodrigo Dewes
Thanks a lot! On Tue, Feb 17, 2009 at 18:17, mdipierro wrote: > > db.pontos.dt_entrada.requires=IS_NULL_OR(IS_DATETIME()) > > On Feb 17, 2:39 pm, dewes wrote: > > When I create a table like this: > > > > db.define_table('pontos', > > SQLField('nome','string'), > > SQLField('destino','string'),

[web2py:16458] Re: Multiple form select

2009-02-17 Thread Rodrigo Dewes
a list again (I think there should be a better way, but I'm just begining to learn python and web2py :D) On Tue, Feb 17, 2009 at 00:59, DenesL wrote: > > On Feb 16, 3:44 pm, Rodrigo Dewes wrote: > > I tried to get the form values on this way: > > > > form.vars.

[web2py:16399] Re: Multiple form select

2009-02-16 Thread Rodrigo Dewes
Thank you, it worked, or sort because when I tried to print de values, it prints on this way: [ ' t e s t 1 ' , ' t e s t 2 ' ] I tried to get the form values on this way: form.vars.test and printed this way for x in form.vars.test : print x Am I doing it wrong? Just wanted it to print: