I did that before. as_list() seems to solve the problem.
Atenciosamente,
Elcimar Leandro
Analista de Suporte, TI JG Telecom/Net Fácil
71 8842-9699, 71 9166-2678
http://twitter.com/simakwm
2011/2/17 Vasile Ermicioi
>
> In the web2py terminal I can read all session keys through 'todas'
>> var
Nevermind!
Figured it out.
differently from seeing it as a list of dict in terminal, in the view I had
to use todas.as_list()
:)
Atenciosamente,
Elcimar Leandro
Analista de Suporte, TI JG Telecom/Net Fácil
71 8842-9699, 71 9166-2678
http://twitter.com/simakwm
2011/2/17 Elcimar L. Santos
gt; Perhaps all files that do not meet the criteria should be considered
> active?
>
> On Feb 17, 2:11 pm, "Elcimar L. Santos"
> wrote:
> > Ok, thanks.
> >
> > Now how would you list all current sessions for an app?
> >
> > Atenciosamente,
>
Ok, thanks.
Now how would you list all current sessions for an app?
Atenciosamente,
Elcimar Leandro
Analista de Suporte, TI JG Telecom/Net Fácil
71 8842-9699, 71 9166-2678
http://twitter.com/simakwm
2011/2/17 Massimo Di Pierro
> define "active"
>
> look at scripts/sessions2trash.py which d
On Wed, Apr 28, 2010 at 15:02, Elcimar L. Santos
> wrote:
> > Hi folks.
> >
> > I have a simple table of an sqlite db like this:
> >
> > dbOBJECT.define_table("Users",
> > Field("login", "string", length=80, notnull=True, d
Hi folks.
I have a simple table of an sqlite db like this:
dbOBJECT.define_table("Users",
Field("login", "string", length=80, notnull=True, default=None,
unique=True),
Field("mac1", "string", length=17, notnull=True, default=None,
unique=True),
Field("mac2", "string", length=17, defau
Due to some life problems I stopped studying web2py for a while.
I am getting back to it trying to create a fast viewer for an existing MySQL
database.
Well, what I am asking is that right now is there a way to do this without
changing anything on
the source database?
Atenciosamente,
Elcimar Le
Hmm...
I wonder if is there a way to display fields from two db in only one SQLFORM...
Atenciosamente,
Elcimar Leandro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this
You should be able to provide a label argurment to the SQLField, like
> SQLFfield("endereco", 'string', 50, label="endereço")
>
> these labels are used within the SQLFORM
>
>
> On 4 jun, 21:13, "Elcimar L. Santos" wrote:
>> ...Because
Z_]table and field names.
The solution pointed by David seems too complicated for ones who only
needs to change field labels :P
Atenciosamente,
Elcimar Leandro
2009/6/4 HansD
>
> why are you asking?
>
> On 4 jun, 20:41, "Elcimar L. Santos" wrote:
> > Where are you
Where are you from Hans?
Atenciosamente,
Elcimar Leandro
2009/6/4 Hans Donner
>
> Yep, forms the base for what I needed.
>
> made a small patch to extend it a bit, the patch includes some doc
> updates as well.
>
> This allows for:
>
> {{extend 'layout.html'}}
> Registration form
>
> {{lbl=f
Wow, thanks!
Atenciosamente,
Elcimar Leandro - http://elcimar.blogspot.com
Portal Net Fácil - http://www.nfacil.com.br
2009/5/23 Pystar
>
> You can try this:
> * Model.py ***
> db.define_table("Foo",
> db.Field("foo1", "string", length=32, default=None
These are also great news.
Atenciosamente,
Elcimar Leandro - http://elcimar.blogspot.com
Portal Net Fácil - http://www.nfacil.com.br
2009/5/22 dlypka
>
> I did email it last Monday.
> I have just resent it.
>
> On May 22, 8:35 am, mdipierro wrote:
> > Can you email the new auto to me?
> >
>
It worked!
Not so hard as I thought. Just took some fields as example as you said (I
think I am not going to use all of them anyway). I added this within my main
model:
rd = SQLDB('mysql://user:passw...@localhost/radius')
rd.define_table("radcheck",
SQLField("username", "string", length = 64,
I need to figure out some things, but indeed this is a start!
Thanks for your reply =)
Atenciosamente
Elcimar Leandro - http://elcimar.blogspot.com
Portal Net Fácil - http://www.nfacil.com.br
2009/5/21 Yarko Tymciurak
> On Thu, May 21, 2009 at 8:43 AM, Elcimar wrote:
>
>>
>> Hello. I am a
15 matches
Mail list logo