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 relevant) 

copy\create appropriate folders for other libraries being used by this 
template 
in static folder (Ex: less, fonts, scss and others) 

to make it work, you need to change the file paths appropriately according 
to web2py conventions. This should help you make it work. 
I am using it for one of my projects and it works like a charm (also on 
latest web2py) I am planning to migrate a few other projects to use it as 
well. 

Cheers, Rahul D.


On Monday, October 12, 2015 at 11:50:38 AM UTC+5:30, xgp.l...@gmail.com 
wrote:
>
> 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 (spot) Brower : 
>> > I have been thinking, the admin interface could use some fixin' up. 
>> > If I bought the extended licence to some theme, say... 
>> > 
>> https://wrapbootstrap.com/theme/wrapkit-responsive-admin-template-WB09280SN?l=e
>>  
>> > or any other there... 
>> > we would then have the power to sublincence it as LGPL or similar with 
>> > restriction to the gpl stuff. 
>> > That way we have a nice theme to play with and can start working on 
>> some of 
>> > fun features to fill it in. 
>>
>> I used this in the past: 
>>
>> http://startbootstrap.com/template-overviews/sb-admin-2/ 
>>
>> License is apache 2, so we should not worry about it. I had a very 
>> nice experience with it. 
>>
>> Sincerely, Angelo 
>>
>> > BR, 
>> > Jason Brower 
>> > 
>> > -- 
>> > 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 unsubscribe from this group and stop receiving emails from it, send 
>> an 
>> > email to web2py+un...@googlegroups.com. 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>>
>>
>> -- 
>> Profile: http://it.linkedin.com/in/compagnucciangelo 
>>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 request 
> such a license, I need to know how many of you would want one of these as 
> well so I can provide them with a number of seats. 
>
> A "+1" response for me is enough but I will also need your email address 
> to send you the license key (which you can send on a private message).
>
> Kind regards,
> Francisco
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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:
> 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 request such
> a license, I need to know how many of you would want one of these as well so
> I can provide them with a number of seats.
>
> A "+1" response for me is enough but I will also need your email address to
> send you the license key (which you can send on a private message).
>
> Kind regards,
> Francisco
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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 Sun, Oct 11, 2015, 22:21 Francisco Ribeiro 
>>> wrote:
>>>
 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
 request such a license, I need to know how many of you would want one of
 these as well so I can provide them with a number of seats.

 A "+1" response for me is enough but I will also need your email
 address to send you the license key (which you can send on a private
 message).

 Kind regards,
 Francisco

 --
 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 unsubscribe from this group and stop receiving emails from it, send
 an email to web2py+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>> --
>> 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 unsubscribe from this group and stop receiving emails from it, send an
>> email to web2py+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Linux User #387870
.
 _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:___

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 exist any implementation or experiencies with redis 
> cluster in web2py? i googled this but cant found anything
>
> Here is a link explaining what is redis cluster: 
> http://redis.io/topics/cluster-tutorial
>
> Thanks for your help!
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 Saturday, October 10, 2015 at 3:32:22 AM UTC-4, Paolo Amboni wrote:
>>
>> After some research i finally concluded that there is no stable and
>> structured CMS made for web2py (tell me if i'm wrong).
>> Which is a python cms that better can be put beside a web2py site (already
>> made)?
>> 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)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 
> "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:
>
> db.geo_collection.f_featured_img.requires=IS_IN_DB(db, 
> (db.geo_item.f_collection_id == db.geo_collection.id),lambda row: '%s' % 
> row.id + " - " + row.f_name)
>
> What I had in mind is that the program would go through every item in the 
> database, and compare its collection id with the collection's id that we 
> are currently looking at. If the item passes this boolean statement, then 
> it is added to the dropdown box.
>
> When I do this, it states that there are too many values to unpack. 
> Traceback below:
>
> Traceback (most recent call last):
>   File "/home/SIRI/web2py/gluon/restricted.py", line 217, in restricted
> exec ccode in environment
>   File "/home/SIRI/web2py/applications/mqr/models/db_wizard.py" 
> , 
> line 149, in 
> db.geo_collection.f_featured_img.requires=IS_IN_DB(db, 
> (db.geo_item.f_collection_id == db.geo_collection.id),lambda row: '%s' % 
> row.id + " - " + row.f_name)
>   File "/home/SIRI/web2py/gluon/validators.py", line 497, in __init__
> (ktable, kfield) = str(field).split('.')
> ValueError: too many values to unpack
>
> I thought that using the 'IS_IN_DB' command might be messing with this, so 
> I changed it to 'IS_IN_SET'. I got this error instead:
>
> Traceback (most recent call last):
>   File "/home/SIRI/web2py/gluon/restricted.py", line 217, in restricted
> exec ccode in environment
>   File "/home/SIRI/web2py/applications/mqr/controllers/cms.py" 
> , 
> line 478, in 
>   File "/home/SIRI/web2py/gluon/globals.py", line 372, in 
> self._caller = lambda f: f()
>   File "/home/SIRI/web2py/gluon/tools.py", line 3239, in f
> return action(*a, **b)
>   File "/home/SIRI/web2py/applications/mqr/controllers/cms.py" 
> , 
> line 26, in display_manage
> oncreate=coll_create,onupdate=coll_create)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 2764, in smartgrid
> user_signature=user_signature, **kwargs)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 2093, in grid
> update_form = SQLFORM(table, record, **sqlformargs)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 1145, in __init__
> inp = self.widgets.options.widget(field, default)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 270, in widget
> options = requires[0].options()
>   File "/home/SIRI/web2py/gluon/validators.py", line 428, in options
> items = [(k, self.labels[i]) for (i, k) in enumerate(self.theset)]
> TypeError: 'Query' object does not support indexing
>
>
> Any ideas on how I could do this? I feel like it's a really simple tweak, 
> but I'm just not seeing it. Any help would be fantastic.
>
>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 = 
db(db.auth_user.username==user).validate_and_update_or_insert(password=user.password,
 
field2=user.field2)

When a user is inserted all is well.
*But when a user is to be updated then Web2py throws an exception finding 
that "object has no attribute 'primary_key'"*
What have I misunderstood?

I can't find any documentation for validate_and_update_or_insert() but it 
operates very similarly to validate_and_update or validate_and_insert

My Auth is as follows:
https_secure = False if isGAELocal() else True
auth = Auth(db, secure=https_secure)

The execution, above, is local and therefore over http but will be over 
https when it goes into production. i.e. testing using dev_appserver and 
targetting App Engine Big Table.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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?
>
>
> # Create a git repo of web2y and pydal on your local machine
>
> $ git clone --recursive https://github.com/web2py/web2py.git
>
>
> # Inside the web2py directory...
>
> $ cd web2py
>
>
> # ...check out version 2.12.3 of webp2y
>
> $ git checkout -b v2.12.3 R-2.12.3
>
>
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 
> "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:
>
> db.geo_collection.f_featured_img.requires=IS_IN_DB(db, 
> (db.geo_item.f_collection_id == db.geo_collection.id),lambda row: '%s' % 
> row.id + " - " + row.f_name)
>
> What I had in mind is that the program would go through every item in the 
> database, and compare its collection id with the collection's id that we 
> are currently looking at. If the item passes this boolean statement, then 
> it is added to the dropdown box.
>
> When I do this, it states that there are too many values to unpack. 
> Traceback below:
>
> Traceback (most recent call last):
>   File "/home/SIRI/web2py/gluon/restricted.py", line 217, in restricted
> exec ccode in environment
>   File "/home/SIRI/web2py/applications/mqr/models/db_wizard.py" 
> , 
> line 149, in 
> db.geo_collection.f_featured_img.requires=IS_IN_DB(db, 
> (db.geo_item.f_collection_id == db.geo_collection.id),lambda row: '%s' % 
> row.id + " - " + row.f_name)
>   File "/home/SIRI/web2py/gluon/validators.py", line 497, in __init__
> (ktable, kfield) = str(field).split('.')
> ValueError: too many values to unpack
>
> I thought that using the 'IS_IN_DB' command might be messing with this, so 
> I changed it to 'IS_IN_SET'. I got this error instead:
>
> Traceback (most recent call last):
>   File "/home/SIRI/web2py/gluon/restricted.py", line 217, in restricted
> exec ccode in environment
>   File "/home/SIRI/web2py/applications/mqr/controllers/cms.py" 
> , 
> line 478, in 
>   File "/home/SIRI/web2py/gluon/globals.py", line 372, in 
> self._caller = lambda f: f()
>   File "/home/SIRI/web2py/gluon/tools.py", line 3239, in f
> return action(*a, **b)
>   File "/home/SIRI/web2py/applications/mqr/controllers/cms.py" 
> , 
> line 26, in display_manage
> oncreate=coll_create,onupdate=coll_create)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 2764, in smartgrid
> user_signature=user_signature, **kwargs)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 2093, in grid
> update_form = SQLFORM(table, record, **sqlformargs)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 1145, in __init__
> inp = self.widgets.options.widget(field, default)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 270, in widget
> options = requires[0].options()
>   File "/home/SIRI/web2py/gluon/validators.py", line 428, in options
> items = [(k, self.labels[i]) for (i, k) in enumerate(self.theset)]
> TypeError: 'Query' object does not support indexing
>
>
> Any ideas on how I could do this? I feel like it's a really simple tweak, 
> but I'm just not seeing it. Any help would be fantastic.
>
>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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 our initial error, 
> I'm sure.
>
> On Sunday, October 11, 2015 at 6:47:32 PM UTC+2, Casey S. Schroeder wrote:
>>
>>
>> I'm inquiring as to whether anyone has done the one step deployment of 
>> ubuntu on AWS.  I am facing an issue that although the deployment succeeded 
>> and apache is listening on the proper ports (netstat), my requests are 
>> hanging and I am unable to connect to the welcome app.  I have checked the 
>> server logs, but there does not appear to be any information there and no 
>> web2py errors either.  The url appears not to be routing to the server.
>>
>> We went this route, rather than Turnkey as indicated in the book, because 
>> although Turnkey served our application, our app was getting a difficult 
>> error with Apache which it was not with rocket (malformed header).
>>
>> We can provide any information which may be necessary to help with the 
>> debug.  I will be linking to this post from the Turnkey help as well.
>>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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, and I'm concerned it may have to do 
> with where we are placing the nginx commands.
>
> Thanks
>
>
> On Thursday, March 13, 2014 at 12:22:36 PM UTC+1, Johann Spies wrote:
>>
>> This error is giving met a lot of trouble.  
>>
>> I have read about solutions using something like 
>>
>> fastcgi_buffers 8 256k;
>> fastcgi_buffer_size 128k;
>>
>> where nginx is using fastcgi, but I am working with uwsgi and this does 
>> not help me.
>>
>> Am I the only web2py user with this problem?  
>>
>> I will be glad to hear about solutions from other web2py-users.
>>
>> Regards
>> Johann
>>
>> -- 
>> Because experiencing your loyal love is better than life itself, 
>> my lips will praise you.  (Psalm 63:3)
>>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 
filter f_collection_id based on a single value, so you probably want 
something like:

db.geo_collection.f_featured_img.requires = IS_IN_DB(
db(db.geo_item.f_collection_id == current_collection_id),
db.geo_item.id, ...)

You'll have to set current_collection_id to the appropriate value.

Anthony




On Monday, October 12, 2015 at 12:54:03 PM UTC-4, John Smidt wrote:
>
> 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:
>
> db.geo_collection.f_featured_img.requires=IS_IN_DB(db, 
> (db.geo_item.f_collection_id == db.geo_collection.id),lambda row: '%s' % 
> row.id + " - " + row.f_name)
>
> What I had in mind is that the program would go through every item in the 
> database, and compare its collection id with the collection's id that we 
> are currently looking at. If the item passes this boolean statement, then 
> it is added to the dropdown box.
>
> When I do this, it states that there are too many values to unpack. 
> Traceback below:
>
> Traceback (most recent call last):
>   File "/home/SIRI/web2py/gluon/restricted.py", line 217, in restricted
> exec ccode in environment
>   File "/home/SIRI/web2py/applications/mqr/models/db_wizard.py" 
> , 
> line 149, in 
> db.geo_collection.f_featured_img.requires=IS_IN_DB(db, 
> (db.geo_item.f_collection_id == db.geo_collection.id),lambda row: '%s' % 
> row.id + " - " + row.f_name)
>   File "/home/SIRI/web2py/gluon/validators.py", line 497, in __init__
> (ktable, kfield) = str(field).split('.')
> ValueError: too many values to unpack
>
> I thought that using the 'IS_IN_DB' command might be messing with this, so 
> I changed it to 'IS_IN_SET'. I got this error instead:
>
> Traceback (most recent call last):
>   File "/home/SIRI/web2py/gluon/restricted.py", line 217, in restricted
> exec ccode in environment
>   File "/home/SIRI/web2py/applications/mqr/controllers/cms.py" 
> , 
> line 478, in 
>   File "/home/SIRI/web2py/gluon/globals.py", line 372, in 
> self._caller = lambda f: f()
>   File "/home/SIRI/web2py/gluon/tools.py", line 3239, in f
> return action(*a, **b)
>   File "/home/SIRI/web2py/applications/mqr/controllers/cms.py" 
> , 
> line 26, in display_manage
> oncreate=coll_create,onupdate=coll_create)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 2764, in smartgrid
> user_signature=user_signature, **kwargs)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 2093, in grid
> update_form = SQLFORM(table, record, **sqlformargs)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 1145, in __init__
> inp = self.widgets.options.widget(field, default)
>   File "/home/SIRI/web2py/gluon/sqlhtml.py", line 270, in widget
> options = requires[0].options()
>   File "/home/SIRI/web2py/gluon/validators.py", line 428, in options
> items = [(k, self.labels[i]) for (i, k) in enumerate(self.theset)]
> TypeError: 'Query' object does not support indexing
>
>
> Any ideas on how I could do this? I feel like it's a really simple tweak, 
> but I'm just not seeing it. Any help would be fantastic.
>
>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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:

db.geo_collection.f_featured_img.requires=IS_IN_DB(db, 
(db.geo_item.f_collection_id == db.geo_collection.id),lambda row: '%s' % 
row.id + " - " + row.f_name)

What I had in mind is that the program would go through every item in the 
database, and compare its collection id with the collection's id that we 
are currently looking at. If the item passes this boolean statement, then 
it is added to the dropdown box.

When I do this, it states that there are too many values to unpack. 
Traceback below:

Traceback (most recent call last):
  File "/home/SIRI/web2py/gluon/restricted.py", line 217, in restricted
exec ccode in environment
  File "/home/SIRI/web2py/applications/mqr/models/db_wizard.py" 
, 
line 149, in 
db.geo_collection.f_featured_img.requires=IS_IN_DB(db, 
(db.geo_item.f_collection_id == db.geo_collection.id),lambda row: '%s' % row.id 
+ " - " + row.f_name)
  File "/home/SIRI/web2py/gluon/validators.py", line 497, in __init__
(ktable, kfield) = str(field).split('.')
ValueError: too many values to unpack

I thought that using the 'IS_IN_DB' command might be messing with this, so 
I changed it to 'IS_IN_SET'. I got this error instead:

Traceback (most recent call last):
  File "/home/SIRI/web2py/gluon/restricted.py", line 217, in restricted
exec ccode in environment
  File "/home/SIRI/web2py/applications/mqr/controllers/cms.py" 
, 
line 478, in 
  File "/home/SIRI/web2py/gluon/globals.py", line 372, in 
self._caller = lambda f: f()
  File "/home/SIRI/web2py/gluon/tools.py", line 3239, in f
return action(*a, **b)
  File "/home/SIRI/web2py/applications/mqr/controllers/cms.py" 
, 
line 26, in display_manage
oncreate=coll_create,onupdate=coll_create)
  File "/home/SIRI/web2py/gluon/sqlhtml.py", line 2764, in smartgrid
user_signature=user_signature, **kwargs)
  File "/home/SIRI/web2py/gluon/sqlhtml.py", line 2093, in grid
update_form = SQLFORM(table, record, **sqlformargs)
  File "/home/SIRI/web2py/gluon/sqlhtml.py", line 1145, in __init__
inp = self.widgets.options.widget(field, default)
  File "/home/SIRI/web2py/gluon/sqlhtml.py", line 270, in widget
options = requires[0].options()
  File "/home/SIRI/web2py/gluon/validators.py", line 428, in options
items = [(k, self.labels[i]) for (i, k) in enumerate(self.theset)]
TypeError: 'Query' object does not support indexing


Any ideas on how I could do this? I feel like it's a really simple tweak, 
but I'm just not seeing it. Any help would be fantastic.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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 Sun, Oct 11, 2015, 22:21 Francisco Ribeiro 
>> wrote:
>>
>>> 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 request
>>> such a license, I need to know how many of you would want one of these as
>>> well so I can provide them with a number of seats.
>>>
>>> A "+1" response for me is enough but I will also need your email address
>>> to send you the license key (which you can send on a private message).
>>>
>>> Kind regards,
>>> Francisco
>>>
>>> --
>>> 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 unsubscribe from this group and stop receiving emails from it, send
>>> an email to web2py+un...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 and 
> Django CMS).
>
> Anthony
>
> On Saturday, October 10, 2015 at 3:32:22 AM UTC-4, Paolo Amboni wrote:
>>
>> After some research i finally concluded that there is no stable and 
>> structured CMS made for web2py (tell me if i'm wrong).
>> Which is a python cms that better can be put beside a web2py site 
>> (already made)?
>> 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)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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 ).
>

-- 

Isys Group Ltd is a wholly owned subsidiary of Capita Plc 
.



-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 Sun, Oct 11, 2015, 22:21 Francisco Ribeiro  > wrote:
>
>> 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 request 
>> such a license, I need to know how many of you would want one of these as 
>> well so I can provide them with a number of seats. 
>>
>> A "+1" response for me is enough but I will also need your email address 
>> to send you the license key (which you can send on a private message).
>>
>> Kind regards,
>> Francisco
>>
>> -- 
>> 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 unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 export_to_csv_file passing it the argument
> represent=True and it will use the field's represent.
>
> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/z7FXwG9CsO4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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:
- 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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Pretty printing a string in a view

2015-10-12 Thread Callum Daw
Hi, I've been trying for a while to return my string to my view with line 
breaks and spacing although it always just outputs as a long string.

Currently I have a view which calls the function and the function outputs a 
string contained in """triple quotes.""". When I print this string from the 
function is outputs to the console with indentation and spacing however 
when I return it to my view it outputs as 1 long string.

In my view I simply have {{=function(variable)}} is there any way I can 
output this nicely, or at least include the whitespace?
On a side note when I returned repr(variable) from my function it prints 
out the \n's in the correct places.

Please let me know if it is unclear, I feel like I've not explained it too 
well.

Callum

-- 

Isys Group Ltd is a wholly owned subsidiary of Capita Plc 
.



-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 our initial error, 
I'm sure.

On Sunday, October 11, 2015 at 6:47:32 PM UTC+2, Casey S. Schroeder wrote:
>
>
> I'm inquiring as to whether anyone has done the one step deployment of 
> ubuntu on AWS.  I am facing an issue that although the deployment succeeded 
> and apache is listening on the proper ports (netstat), my requests are 
> hanging and I am unable to connect to the welcome app.  I have checked the 
> server logs, but there does not appear to be any information there and no 
> web2py errors either.  The url appears not to be routing to the server.
>
> We went this route, rather than Turnkey as indicated in the book, because 
> although Turnkey served our application, our app was getting a difficult 
> error with Apache which it was not with rocket (malformed header).
>
> We can provide any information which may be necessary to help with the 
> debug.  I will be linking to this post from the Turnkey help as well.
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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, changing the model definition to use a reference table:

db.define_table('genus',
Field('description'),
format = '%(description)s')

db.define_table('animal',
Field('species'),
Field('genus', 'reference genus'))

and the controller to use the represent() method:

def animal():
animals = db().select(db.animal.ALL).render()
return dict(animals=animals)

the view continues to work fine but the export_to_csv button now raises an 
error:

 'generator' object has no attribute 
'export_to_csv_file'

The ability to export data to csv is important for my application. 

So my question is - is there a (simple) way to export a generator object to 
a csv file, or is it better to rely on table joins in the DAL rather than 
the render function?

Any suggestions much appreciated!

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.