[web2py] Integration with source control system

2013-12-28 Thread Saifuddin Rangwala
While I make changes to my applications, is there a way to specify a source control like cvs, github, perforce etc.. that I can specify somewhere so that all changes that are made are tracked and that I can revert back to previous change easily? Or anything equivalent that I can setup to achieve

[web2py] Re: Trouble setting up database that chooses predefined options.

2013-12-28 Thread Cliff
Dave Just wanted to give you an update. I have it working for now and will play with some other features in the future. I tried uploading it to GAE but it was being a pain so I threw it on a old web page of mine.

Re: [web2py] Re: link as virtualfield

2013-12-28 Thread Diego Tostes
thanks! it works! 2013/12/28 Massimo Di Pierro massimo.dipie...@gmail.com try replace Field.Virtual('anexos', lambda row: a href=''Teste_%s/a % row.parte. id) with Field.Virtual('anexos', lambda row: XML(a href=''Teste_%s/a % row. parte.id)) or Field.Virtual('anexos', lambda row:

[web2py] create doc files

2013-12-28 Thread Diego Tostes
Hi, Is it possible create doc files (word or openoffice) using templates rendering? Rgds, Diego -- 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] Re: create doc files

2013-12-28 Thread Diego Tostes
done using PyRTF thanks 2013/12/28 Diego Tostes tostes.pyt...@gmail.com Hi, Is it possible create doc files (word or openoffice) using templates rendering? Rgds, Diego -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Re: HOWTO: getting web2py to run on Android mobile devices

2013-12-28 Thread 黄祥
i follow the slice n want to ask is it possible to change default web2py webserver behaviour same like execute on server or pc? i mean when i execute web2py on pc web2py webserver will ask to choose local (ipv4) (127.0.0.1) or public (0.0.0.0), yet in the android it didn't ask me anything about

Re: [web2py] Re: save upload filename in database

2013-12-28 Thread Calvin Morrison
Yes that's exactly the problem! Which in turn causes the other problems I think On Dec 27, 2013 11:48 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Let's isolate the problem. Are you saying that even if you have this: Field('up_file', 'upload', uploadseparate=True, requires

[web2py] Re: web2py on heroku getting InternalError: current transaction is aborted... Ticket

2013-12-28 Thread Alan Etkin
2013-12-28T05:17:30.576667+00:00 app[web.1]: ProgrammingError: relation web2py_filesystem does not exist 2013-12-28T05:17:30.576667+00:00 app[web.1]: LINE 1: SELECT path FROM web2py_filesystem WHERE path='applications/... 2013-12-28T05:17:30.576667+00:00 app[web.1]: Check this

[web2py] Re: create doc files

2013-12-28 Thread Anthony
There's also python-docx https://github.com/mikemaccana/python-docx. On Saturday, December 28, 2013 10:35:33 AM UTC-5, Diego Tostes wrote: done using PyRTF thanks 2013/12/28 Diego Tostes tostes...@gmail.com javascript: Hi, Is it possible create doc files (word or openoffice) using

Re: [web2py] Re: create doc files

2013-12-28 Thread Diego Tostes
i am using the pyrtf, but i dont know how create the file and download without save the file on the server. any idea? 2013/12/28 Anthony abasta...@gmail.com There's also python-docx https://github.com/mikemaccana/python-docx. On Saturday, December 28, 2013 10:35:33 AM UTC-5, Diego Tostes

Re: [web2py] Re: create doc files

2013-12-28 Thread Diego Tostes
here is my code: http://pastebin.com/qh5AV8Xh but the download don't start when i access this controler. 2013/12/28 Diego Tostes tostes.pyt...@gmail.com i am using the pyrtf, but i dont know how create the file and download without save the file on the server. any idea? 2013/12/28

[web2py] Re: save upload filename in database

2013-12-28 Thread Calvin Morrison
More specifically this only happens if I put in the if up_name != None check to set the filename in the database, otherwise it works well On Friday, December 27, 2013 11:48:09 PM UTC-5, Massimo Di Pierro wrote: Let's isolate the problem. Are you saying that even if you have this:

[web2py] Re: trying to add a submit button to SQLFORM but it does nothing

2013-12-28 Thread Tim Richardson
For reference, in case you want to add some basic inline editing to SQLFORM.grid. I wanted to add a radio button group so that for each row the user can select a number of different actions, as opposed to selectable which lets the user flag the row on or off. 1) any INPUT fields in a grid

[web2py] Re: Integration with source control system

2013-12-28 Thread Massimo Di Pierro
Your application will be in a folder web2py/applications/yourapp. You can use any version control system you like for the content of that folder. this is orthogonal to web2py. On Saturday, 28 December 2013 07:59:06 UTC-6, Saifuddin Rangwala wrote: While I make changes to my applications, is

Re: [web2py] Re: Integration with source control system

2013-12-28 Thread Saifuddin Rangwala
Ok Thanks! On Sun, Dec 29, 2013 at 10:43 AM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Your application will be in a folder web2py/applications/yourapp. You can use any version control system you like for the content of that folder. this is orthogonal to web2py. On Saturday, 28