[web2py] Re: PyCharm license for web2py dev - who wants?

2015-10-12 Thread Leonel Câmara
+1 -- 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 Google Groups "web2py-users" group. To

Re: [web2py] Buying a template for the community...

2015-10-12 Thread xgp . latino
Angelo, Can i trouble you asking for directions for adapting this http://startbootstrap.com/template-overviews/sb-admin-2/ to web2py? I can't make things work. Regards, El domingo, 11 de octubre de 2015, 2:34:26 (UTC-5), AngeloC escribió: > > I Jason, > > 2015-10-11 9:24 GMT+02:00 Jason

[web2py] The .represent() method and export_to_csv

2015-10-12 Thread Andy W
Hi all Following the example in the book , I can display the contents of a database table (ie the list of animals in the book example) on the screen and add a button to download the data to a CSV file. However,

[web2py] Re: Pretty printing a string in a view

2015-10-12 Thread Leonel Câmara
This is just how HTML works. For instance if you put this in your view: {{=mystring}} You will see the newlines and spacing. Otherwise, if you don't want it showing like that, you need to prepare your string better (for instance replacing \n in the string with ). -- Resources: -

[web2py] Re: The .represent() method and export_to_csv

2015-10-12 Thread Leonel Câmara
export_to_csv_file is actually a method of Rows, when you call render you get a generator that returns the representation for each row, that's not a Rows instance. You can actually just use export_to_csv_file passing it the argument represent=True and it will use the field's represent. --

[web2py] Re: Pretty printing a string in a view

2015-10-12 Thread Callum Daw
Thank you so much, the tag worked a charm, the issue I was facing is that it returns XML to my unit which connects to it so having a would have caused problems. Thanks again! On Monday, 12 October 2015 10:50:49 UTC+1, Leonel Câmara wrote: > > This is just how HTML works. For instance if you

[web2py] Re: One Step Deployment to Ubuntu on AWS

2015-10-12 Thread Casey S. Schroeder
Thanks Massimo, this helped. I will only further note here that in our Nginx web2py config file we needed to add: *uwsgi_buffers 8 32k; **uwsgi_buffer_size 32k;* at the server level of the file, and we needed the second line even though the first line looks sufficient. This was related to

[web2py] Re: CMS WEB2PY

2015-10-12 Thread Paolo Amboni
Are there some contraindications to use web2py with php based cms like joomla? Il giorno sabato 10 ottobre 2015 18:34:55 UTC+2, Anthony ha scritto: > > If it has to be Python, there are several Django based CMSes -- Wagtail > looks like a nice one (there's also Mezzanine

Re: [web2py] PyCharm license for web2py dev - who wants?

2015-10-12 Thread Paolo Amboni
I'm using pycharm community edition, that for what I understand is free. Are these licenses for the pro version? Is the pro version supporting web2py? If yes i'm iterested. Il giorno domenica 11 ottobre 2015 21:29:54 UTC+2, Encompass solutions ha scritto: > > I can try it if you want. +1 > > On

Re: [web2py] Re: The .represent() method and export_to_csv

2015-10-12 Thread Andrew Webster
Thanks Leonel On 12 Oct 2015 13:41, "Leonel Câmara" wrote: > export_to_csv_file is actually a method of Rows, when you call render you > get a generator that returns the representation for each row, that's not a > Rows instance. > > You can actually just use

Re: [web2py] PyCharm license for web2py dev - who wants?

2015-10-12 Thread António Ramos
Picharm eats more memory than sublime. In sublime i have everything, w2py console and server logs so 2015-10-12 11:01 GMT+01:00 Paolo Amboni : > I'm using pycharm community edition, that for what I understand is free. > Are these licenses for the pro version? > Is the pro

[web2py] Filtering a set of items from a collection issues

2015-10-12 Thread John Smidt
Hi, I am trying to populate a drop down box so that a user may choose a "featured Image" from a collection of images. There are multiple collections, so I need to filter out the other images that are in the different collections. The code I have is shown below:

[web2py] Re: nginx and uwsgi: upstream sent too big header while reading response header from upstream

2015-10-12 Thread Massimo Di Pierro
You should not use fastcgi. I do not think anybody uses that any more. you should use nginx+uwsgi. On Sunday, 11 October 2015 17:06:40 UTC-5, Casey S. Schroeder wrote: > > > Johann, > > I know it was some time ago, but were you able to fix this problem? We > are encountering something similar,

[web2py] Re: One Step Deployment to Ubuntu on AWS

2015-10-12 Thread Massimo Di Pierro
Interesting. Thanks. Also notice that nginx has limits to upload file size and timeout. There are similar parameters to increase those. On Monday, 12 October 2015 03:57:31 UTC-5, Casey S. Schroeder wrote: > > > Thanks Massimo, this helped. I will only further note here that in our > Nginx

Re: [web2py] Re: Version control: web2py and my application in separate repos?

2015-10-12 Thread Vinicius Assef
Yes, Tom. That's the way I make it. Thanks Leonel. I have forgotten the `--recursive` option. -- Vinicius Assef On 9 October 2015 at 20:36, Tom Campbell wrote: > Thank you, Leonel and Vincinius. So it seems that the canonical way to do > this would be as follows? > >

[web2py] Re: Filtering a set of items from a collection issues

2015-10-12 Thread Anthony
First, you've got the arguments to IS_IN_DB wrong -- the first argument is a DAL connection object or a DAL Set object (which is what you want), and the second is a single field object (or a field name in 'table.field' format). Second, your query implies a join, but really you just want to

[web2py] can validate_and_update_or_insert() be used with Auth on GAE?

2015-10-12 Thread Carl Hunter Roach
I'm trying to use validate_and_update_or_insert() to update/insert users into my auth_user table. user = [ Storage(username="u1", password='p1', field2='field2'), Storage(username="u1", password='p1', field2='field2')] for user in users: res =

Re: [web2py] Re: CMS WEB2PY

2015-10-12 Thread Vinicius Assef
Quokka CMS is a very nice and modern choice, too. -- Vinicius Assef On 10 October 2015 at 13:34, Anthony wrote: > If it has to be Python, there are several Django based CMSes -- Wagtail > looks like a nice one (there's also Mezzanine and Django CMS). > > Anthony > > > On

[web2py] Re: Filtering a set of items from a collection issues

2015-10-12 Thread Massimo Di Pierro
I think we may have changed the validator to IS_IN_SET but you are still passing the same parameters as to IS_IN_DB. They take different sets of parameters. On Monday, 12 October 2015 11:54:03 UTC-5, John Smidt wrote: > > Hi, > I am trying to populate a drop down box so that a user may choose a

[web2py] Re: Filtering a set of items from a collection issues

2015-10-12 Thread Massimo Di Pierro
I think we may have changed the validator to IS_IN_SET but you are still passing the same parameters as to IS_IN_DB. They take different sets of parameters. On Monday, 12 October 2015 11:54:03 UTC-5, John Smidt wrote: > > Hi, > I am trying to populate a drop down box so that a user may choose a

[web2py] Re: Redis cluster

2015-10-12 Thread Niphlod
as soon as redis-py supports cluster, web2py is ready to use it. unfortunately ATM the "official"/"famous"/"recommended" driver for redis in python doesn't support it so... we're waiting. On Saturday, October 10, 2015 at 9:09:45 PM UTC+2, Luis Valladares wrote: > > Hello! > > I was wondering if

[web2py] Re: PyCharm license for web2py dev - who wants?

2015-10-12 Thread Carlos A. Armenta Castro
+1 El domingo, 11 de octubre de 2015, 12:21:16 (UTC-7), Francisco Ribeiro escribió: > > Hello all, > > for those who know PyCharm is a great IDE from JetBrains that provides > free licenses for Open Source projects like web2py ( > https://www.jetbrains.com/buy/opensource/?product=pycharm ). To

Re: [web2py] PyCharm license for web2py dev - who wants?

2015-10-12 Thread Tito Garrido
+1 :) On Mon, Oct 12, 2015 at 8:32 AM, António Ramos wrote: > Picharm eats more memory than sublime. > > In sublime i have everything, w2py console and server logs so > > 2015-10-12 11:01 GMT+01:00 Paolo Amboni : > >> I'm using pycharm community

Re: [web2py] PyCharm license for web2py dev - who wants?

2015-10-12 Thread Alfonso de la Guarda
Hello, +1 Saludos, Alfonso de la Guarda Twitter: @alfonsodg Redes sociales: alfonsodg Telef. 991935157 1024D/B23B24A4 5469 ED92 75A3 BBDB FD6B 58A5 54A1 851D B23B 24A4 On Sun, Oct 11, 2015 at 2:21 PM, Francisco Ribeiro wrote: >

Re: [web2py] PyCharm license for web2py dev - who wants?

2015-10-12 Thread Ezugworie Ikechukwu
+1 On Mon, 12 Oct 2015 22:54 Michael Beller wrote: > +1 > > -- > 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

[web2py] PyCharm license for web2py dev - who wants?

2015-10-12 Thread Michael Beller
+1 -- 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 Google Groups "web2py-users" group. To

Re: [web2py] Buying a template for the community...

2015-10-12 Thread Rahul
You need to download this template, unzip the contents and copy all the - .js files in \static\js .css files \static\css images to \static\images you need to take backup of original layout and put your sbadmin2 file in views\ as layout.html (remove unwanted sections in this file. Keep what is