I've created an app on my local computer with Web2py and it is running via
WSGI with SQLite. I can successfully deploy my app to Google App Engine,
using my own domain and doing all url rewrites I need.
Now I need a way to create specific administrative users that will be
responsible for upda
This is my model.
I upload the image to the logotipo_marca_blob field...
I can already use
from PIL import Image inside app engine SDK without problems...
db.define_table('marcas',
Field('nome_marca',unique=True),
Field('site_marca'),
Field('nome_marca_url', readable=False),
Fi
s://developers.google.com/appengine/docs/python/images/imageclass
>
> from google.appengine.api import images
>
> blob = db.marcas(id).logotipo_marca_blob
> image = images.Image(blob)
> image.resize(32, 32)
> data = image.execute_transforms()
>
>
>
--
--
Atenciosamente,
Alex BENFICA
--
"O que não se mede não se gerencia."
Hi!
Maybe move away from Google Groups is really a nice ideia...
Even the App Engine groups did that...
http://groups.google.com/group/google-appengine/browse_thread/thread/67a5cdffae1c03bc
On Saturday, April 21, 2012 1:24:32 PM UTC-3, JoeCodeswell wrote:
>
> This new look that Google Gro
I'm having a seriuos problem having to stop and start Google App Engine SDK
when I want edit modules, otherwise, they are not reloaded.
The problem is that, doing this, I lose the entire database content on GAE
SDK...
Is there a way to edit web2py modules and get then reloaded each time I run
Oi Ricardo,
Thanks.
I add the option to use sql lite and databse keeps data when I restart
app engine SDK.
And about the module reloading... did you have any problems with it?
On Wed, May 9, 2012 at 5:54 PM, Ricardo Pedroso wrote:
> On Wed, May 9, 2012 at 8:35 PM, Alex Benfica wr
and i just restart that. it's not as fast as
> auto-reloading but it has been ok for me (though now that i'm doing more and
> more in modules it does slow things down)
>
>
> On Wednesday, May 9, 2012 2:27:33 PM UTC-7, Alex Benfica wrote:
>>
>> Oi Ricardo,
>
Hi!
I have it on my only file at models folder, at first line.
from gluon.custom_import import track_changes; track_changes(True)
When using GAE SDK, this option does NOTE reloads modules!
The tickets shows erros on wrong line numbers... and changes made on module
files are only displayed when
Hi!
Massimo... does it really limits the number of entities queried from GAE
datastore?
I made some tests while observing quota limits... and seens that each time
I do
limitby=(0,10), all 845 entities I have are being returned... but web2py
only shows 10 first...
Is there a way I can only get
Hello people!
First of all... thank you Massimo and howesc!
About this question that I did and Massimo and howesc answerd on Stack
Overflow.
I tried to put some code there... but I could't...
http://stackoverflow.com/questions/10940995/does-google-app-engine-projection-queries-are-supported-by-
Doing some research I found the docs...
"You cannot project a property that also is referenced in an equality
filter. For example SELECT A FROM kind WHERE A = 1 is not supported, but SELECT
A FROM kind WHERE B = 1 or SELECT A FROM kind WHERE A > 1 is supported."
So I did ...
self.db(self.tabe
).select()
On Monday, June 11, 2012 10:10:18 PM UTC-3, Alex Benfica wrote:
>
> Hello people!
>
> First of all... thank you Massimo and howesc!
>
> About this question that I did and Massimo and howesc answerd on Stack
> Overflow.
> I tried to put some code there... but
ine/docs/python/datastore/queries#Query_Projection.
>
> I would think that would result in an error, though.
>
> Anthony
>
> On Monday, June 11, 2012 9:35:28 PM UTC-4, Alex Benfica wrote:
>>
>> Hi Massimo and howesc!
>>
>> Testing again... I found a problem:
Hi people!
I'm creating a new website using Web2py [ Version 2.0.0 (2012-06-10
21:17:42) dev ] on GAE in a domain where previously I had a WordPress blog!
This blog has some urls like these:
http://domain.com/novo-modelo/hyundai-hb-20/
http://domain.com/carro-conceito/nanotata/testes/
In order
to each of your
> URLs with hyphens before they will parse without error.
>
> i hope that helps point you in the right direction
>
> cfh
>
>
> On Friday, November 2, 2012 4:18:44 AM UTC-7, Alex Benfica wrote:
>>
>> Hi people!
>>
>> I'm creat
So... What can I do to make than faster? Or should I not be using
"has_permission" each time I need to know which permission logged in user
have?
Em quarta-feira, 2 de março de 2011 12h48min55s UTC-3, Massimo Di Pierro
escreveu:
>
> They are not cached.
>
> On Mar 2, 9:22 am, Ross Peoples wro
Hi!
I have the same problem and the virtual fields availble on auth.user would
save me 1 RPC call per request on App Engine.
Is that a bug or is it the natural behavior!?
I'm using web2py version 2.2.1!
Thanks!
Em sábado, 23 de abril de 2011 16h55min28s UTC-3, Gregory Hellings escreveu:
>
>
Hi!
I found this...
https://groups.google.com/forum/?fromgroups=#!topic/web2py/77ei0yBbuhw
Wil this feature be included again some day?
Web2py is fine... and it is getting better each day!
Em sexta-feira, 23 de novembro de 2012 16h57min33s UTC-2, Alex Benfica
escreveu:
>
> Hi!
>
Hi!
I'm afraid this solution does not work on App engine development
environment. Is there any other way?
Em sexta-feira, 24 de outubro de 2014 21:52:03 UTC-2, Massimo Di Pierro
escreveu:
>
> Normally modules are not reloaded because they are cached by python.
> web2py can bypass this, depen
19 matches
Mail list logo