[web2py] upload file to rest service on GAE

2015-11-27 Thread James Burke
I'm having some trouble uploading/accessing a file on Google App Engine (GAE). This is the code used to store the file: @request.restful() def workspace(): def POST(*args,**vars): workspace_id = db.workspace.insert(repository=request.vars. repository,

Re: [web2py] Source control versioning and migrations

2015-11-27 Thread Antonio Salazar
My projects are small enough that I can consider switching from migrated to legacy databases. I feared I was overlooking something, but it really seems like migrations, in some cases, will just shift the workload elsewhere. Thanks for your insightful reply. On Friday, November 27, 2015 at 12:5

Re: [web2py] Source control versioning and migrations

2015-11-27 Thread Richard Vézina
Hello Antonio, This is a vast subject... And all suggestions couldn't apply or you will not agree with all... But here a couple of them : 1) Web2py app versioning tool only allow tracking of a single branch... So, you could try to not branch your app development and only commit change that should

[web2py] Source control versioning and migrations

2015-11-27 Thread Antonio Salazar
What are the best practices (or personal experiences) when dealing with database migrations and source control versioning? I think database migration is one of the strong points of web2py, but what about migrations caused by checking out different branches? Example: - Version A is in produc

Re: [web2py] Internationalization and Unicode

2015-11-27 Thread Richard Vézina
Depending if you hardcode or not your special language character or not. If you only input unicode into field by the mean of your app you should not have to pay attention, web2py will handle the differents languages. But if you defined you alphabets in differents languages as constant type variable

[web2py] Internationalization and Unicode

2015-11-27 Thread Pierre
Hi all, I am writing an app supposed to handle different languages/alphabets Do I have to pay special attention to unicode issues (the subject is quite confusing) or is this managed by the web2py api and the build-in translation tool ? -- Resources: - http://web2py.com - http://web2py.com/boo

[web2py] Re: database is locked

2015-11-27 Thread Pierre
A simple reboot and it unlocked damned computers -- 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 subsc