I deploy it on Window Server 2008 with apache 2.2, python 2.7.
Vào 17:25:42 UTC+7 Thứ Hai, ngày 15 tháng 6 năm 2015, Niphlod đã viết:
>
> ok, rephrasing "Then, I deploy the app on internet" <-- how is it
> deployed ?
>
> On Monday, June 15, 2015 at 10:19:11 AM UTC+2, DucVa wrote:
>>
>> I don
I don't see how to use this information to solve the problem. Does any URL
that points to this page need to specify what vars go into the signature,
and what vars should be listed? Since the autocomplete only includes its
own special var, and nothing else does, it seems that I'd need to exclud
hello i created this restfull controller
@request.restful()
def formula():
response.view = 'generic.json'
def GET(id=0): #read
temp=[]
print "reading REST API - Formula"
rec= db().select(db.formulas.ALL).as_list() #if id==1 else
db.formulas(id)
return dict(
thanks Massimo
works great
perfect Father's Day present
Alex
--
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
sorry
my mistake
bad keyboard!!
2015-06-22 15:35 GMT+01:00 António Ramos :
> hello i created this restfull controller
>
> @request.restful()
> def formula():
> response.view = 'generic.json'
>
> def GET(id=0): #read
> temp=[]
> print "reading REST API - Formula"
>
When I click on "view" a record in the SQLFORM.grid it puts the buttons at
the very top.
Does web2py have a built-in method of moving the buttons to the bottom of
the page or do I need to use CSS?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/w
On Sunday, June 21, 2015 at 9:13:03 AM UTC-7, Mario Blataric wrote:
>
> Hi,
>
It's awfully hard for me to read black on black, so I may be
misunderstanding what you are trying.
>
> I have following table definition:
>
> b.define_table('exchange_rate',
> Field('currency', le
On Sunday, June 21, 2015 at 9:57:54 AM UTC-7, 黄祥 wrote:
>
> please read the book, with ascending order.
> 1. setting up email (normally in models/db.py)
> 2. sending email (can be put in models, controllers or modules)
>
>
Also, if you are trying out some code and getting errors, it may be a goo
On Sunday, June 21, 2015 at 10:03:04 AM UTC-7, 黄祥 wrote:
>
> i think you can use python subprocess module
> e.g. (change the *.exe file with your *.c file)
> *controlelrs/default.py*
> import subprocess
>
> def change_hostname():
> command = "applications/administrator/static/script/windows/c
@dave,
do you have any suggestion for safer method in case the student tries
something dangerous or malicious?
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issue
I'd really appreciate any help on this. I went through the SQLHTML.py code
and I can see where row_buttons are being assigned, but I'm not sure what I
can change to put the buttoms at the bottom of the SQLFORM instead of the
top.
I also see that the 'web2py' ui has cornertop and cornerbottom ar
On Monday, June 22, 2015 at 12:21:03 PM UTC-7, 黄祥 wrote:
>
> @dave,
> do you have any suggestion for safer method in case the student tries
> something dangerous or malicious?
>
>
On Linux, chroot would help, and using a container (e.g., Docker) for the
sandbox would probably be better, but I d
Hi community.
I am trying paginate a query well is a sub query, I have differents field
from differents tables and I inserted these in a form, I make a query and I
got many results, What can I do to show this results for example, 10 per
page?
I hope that you can help me.
My best regards.
-
On Monday, June 22, 2015 at 4:07:30 PM UTC-7, KevC wrote:
>
> Hi community.
>
> I am trying paginate a query well is a sub query, I have differents field
> from differents tables and I inserted these in a form, I make a query and I
> got many results, What can I do to show this results for exam
Hi Paolo, I get the error " 'ascii'
codec can't decode" using the latest web2py download
(2.10.4-stable+timestamp.2015.04.26.15.11.54 (Running on Apache/2.4.7
(Ubuntu), Python 2.7.6)). This occurs even with “” characters in the
on-board wiki.
Could you tell me the steps of the easiest way to f
Thanks very much Massimo, I will do that. BTW: when I upgrade, the files in
my applications are not upgraded, right? So, I can download and install the
newest version of web2py and not actually upgrade the old one. This way I
can have the old version on my computer with with all my old applicati
Hi Ben, the latest web2py download doesn't include the fix yet. You have to
either manually update pydal or wait for a newer release of web2py
Paolo
2015-06-23 6:12 GMT+02:00 Ben Lawrence :
> Hi Paolo, I get the error " 'ascii'
> codec can't decode" using the latest web2py download
> (2.10.4-s
17 matches
Mail list logo