Re: [web2py] Re: New python.org layout

2014-03-23 Thread José Luis Redrejo
2014-03-22 23:21 GMT+01:00 Mariano Reingart : > Great news: > > We are now listed in https://www.python.org/ > > Congrats and thanks to the maintainers added it and that closed the ticket! > I wouldn't close it so quickly. It's only on the frontpage, but no mention at https://www.python.org/abou

Re: [web2py] Re: New python.org layout

2014-03-23 Thread Mariano Reingart
On Sun, Mar 23, 2014 at 5:09 AM, José Luis Redrejo wrote: > 2014-03-22 23:21 GMT+01:00 Mariano Reingart : > > Great news: > > > > We are now listed in https://www.python.org/ > > > > Congrats and thanks to the maintainers added it and that closed the > ticket! > > > > > > I wouldn't close it so qu

[web2py] Re: Password feild type seems to save in plain text for me.

2014-03-23 Thread Anthony
By default, I think password fields only get an IS_LENGTH validator, so you'll have to set the CRYPT validator explicitly. Anthony On Tuesday, March 18, 2014 1:04:54 PM UTC-4, Encompass solutions wrote: > I am trying to create a model with an encrypted key so it's harder for > someone to malic

[web2py] Re: Zurb Foundation 5 - Package for web2py

2014-03-23 Thread samuel bonill
thanks Paolo I'm trying to build a package for semantic-ui El viernes, 21 de marzo de 2014 18:11:20 UTC, Paolo Caruccio escribió: > > I just completed a package that applies the Zurb Foundation 5 style to > some web2py elements - the current version covers the navig

[web2py] Re: cannot import module from application's modules directory on pythonanywhere.com

2014-03-23 Thread Stefaan Himpe
I just tried and it works without problem on my local computer. I'll double check what I did on pythonanywhere. -- 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 Iss

[web2py] Re: cannot import module from application's modules directory on pythonanywhere.com

2014-03-23 Thread Stefaan Himpe
is it running well in your local computer? or maybe try to import module Oh wait! On my local computer it was importing not from the modules folder but from a globally installed version of music21. I need to examine more first... -- Resources: - http://web2py.com - http://web2py.com/bo

[web2py] Re: cannot import module from application's modules directory on pythonanywhere.com

2014-03-23 Thread Stefaan Himpe
Intersestingly, it works correctly on my PC locally if I put it in my application's "modules" folder, but not on pythonanywhere. I found out, however, that I can work normally after I move music21 to web2py's site-packages folder (outside the application). This solution is not entirely satisfa

[web2py] Best way for using CSS variables with web2py ?

2014-03-23 Thread Gael Princivalle
Hello all. I just would like to define some CSS variables for a web2py application, using Bootstrap 2.3.2. I've saw that for example with Sass you can do something like that: @Color1 = #fff; @Color2 = #b00; @Color3 = #050; h1 { color:@Color1; background:@Color2; } But bootstrap works with Less

[web2py] Strange web2py book?

2014-03-23 Thread Najtsirk
Hi, is something wrong with this chapter? http://web2py.com/books/default/chapter/29/09/access-control Kristjan -- 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 Iss

[web2py] Re: Strange web2py book?

2014-03-23 Thread Massimo Di Pierro
Yes. Should be fixed when cache refreshes On Sunday, 23 March 2014 11:42:02 UTC-5, Najtsirk wrote: > > Hi, > > is something wrong with this chapter? > > http://web2py.com/books/default/chapter/29/09/access-control > > > Kristjan > -- Resources: - http://web2py.com - http://web2py.com/book (Docum

[web2py] Re: Scheduler Task

2014-03-23 Thread Adriano Chambel
Thanks, Niphlod. Em sábado, 22 de março de 2014 10h27min41s UTC-3, Niphlod escreveu: > > this was discussed at length and now in 2.9.x there's a prevent_drift > parameter that will make your tasks start at the same time. Unfortunately > there's no mention of it in the changelog but its yet in th

[web2py] the python tutor

2014-03-23 Thread Michele Comitini
This is very nice to understand how a piece of code works! http://pythontutor.com/ -- 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 mess

Re: [web2py] Re: New python.org layout

2014-03-23 Thread Niphlod
having a chef opcode does not count as "ruby is needed". Given chef's spread, it's exactly as if we shipped all scripts/setup* scripts in ruby. On Saturday, March 22, 2014 11:04:41 PM UTC+1, Mariano Reingart wrote: > > Not only susy, there seems to be even ruby code files inside the > pythondoto

[web2py] Re: Creating a background task script on models, db is not defined.

2014-03-23 Thread Niphlod
very very strange. just for completeness sake, you **do** have models/db.py with db = DAL(.) right ? On Saturday, March 22, 2014 8:49:11 PM UTC+1, Avi A wrote: > > Same. > /models/z_import_catalog.py", line 13, in > item = db(db.t_items.unfi_product == row[5]).select().first() > NameEr

Re: [web2py] Re: New python.org layout

2014-03-23 Thread Michele Comitini
2014-03-23 18:31 GMT+01:00 Niphlod : > having a chef opcode does not count as "ruby is needed". Given chef's > spread, it's exactly as if we shipped all scripts/setup* scripts in ruby. I hope not! I started using web2py to avoid moving to ruby RoR! ;-) > > > On Saturday, March 22, 2014 11:04:41 P

[web2py] DAL - JSON Field type vs. text + filter

2014-03-23 Thread Wes Hall
I just saw the addition of a JSON Field type. Is this safe to use as a (mostly) drop in replacement for text + filter or should I continue to use filtering? I didn't see much of a discussion in -users, and a quick search in -developers didn't show much either. -- Resources: - http://web2py.c

Re: [web2py] Re: New python.org layout

2014-03-23 Thread Niphlod
you don't have to move to RoR. chef is just an "emerging standard" in deployment recipes (you may also intend it as "buzzword-project gone right"). See it as fabric snippets on steroids. Puppet, ansible, salt, etc, are also on the same "family". http://redmonk.com/sogrady/2013/12/06/configurati

[web2py] Re: Creating a background task script on models, db is not defined.

2014-03-23 Thread Avi A
Yes I **do**. If I write the function on the default.py and run it via default/import_catalog it works. On Sunday, March 23, 2014 7:34:20 PM UTC+2, Niphlod wrote: > > very very strange. > just for completeness sake, you **do** have models/db.py with > > db = DAL(.) > > right ? > > On Saturda

[web2py] Socialdrawer language

2014-03-23 Thread Gael Princivalle
Hello. Is there a way to change the socialdrawer language depending of the request.uri_language ? All text is in share.js. var tbar = 'Condividi'; I have to get the request.uri_language inside share.js and set tbar depending of it. How can I do that ? Thank's. -- Resources: - http://web2py.c

Re: [web2py] Re: New python.org layout

2014-03-23 Thread Michele Comitini
;-) ;-) >From that page you sent I understand that Ansible is starting to get more traction than chef. Ansible is in python or what? C'mon, we are talking about the "*python* software foundation", they must favour a python based product, unless there is no other way. Deploying a django based applic

[web2py] Re: Best way for using CSS variables with web2py ?

2014-03-23 Thread LightDot
If it's only such variables you're after, you could achieve the same with Less. Anyway, Bootstrap has an official Sass port, see: http://getbootstrap.com/getting-started/ https://github.com/twbs/bootstrap-sass/ Regards -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] Re: Ckeditor plugin - Update ckeditor

2014-03-23 Thread Tim Richardson
On Monday, 24 March 2014 07:04:36 UTC+11, Gael Princivalle wrote: > > Thank you Tim. > > This new version works well. > > What I don't understand is how can I update the CKeditor version. > In the release notes I've saw that "To upgrade to a newer version of > ckeditor, replace the directory sta

[web2py] Re: Ckeditor plugin - Update ckeditor

2014-03-23 Thread Tim Richardson
Oh, would be great if you can test the image upload functionality (ie when using ckeditor to place an image, you should be able to upload images). On Monday, 24 March 2014 07:04:36 UTC+11, Gael Princivalle wrote: > > Thank you Tim. > > This new version works well > > What I don't understand is h