I am learning web2py. I found a redirect error between 2 very simple
actions. This application which I simple modify from the web2py manual is
just used to help me to understand the controlflow,request.args and
request.vars of web2py. Here is the code in my default controller.
def index():
Hello everyone, I have an existing table named db.news. I want to insert
multiple rows which are selected from the existing db.news to another
table. My code is like following:
news=db(db.news.id>=0).select(orderby=~db.news.release_time)[0:15]
db.news_temp.truncate()
db.news_temp.insert(news)
I want to add member to the db.auth__membership. I have too many users in
db.auth_user, so it's very hard to add a specified user to the membership.
Could anyone help me? The following is the screenshot
le. Using a commercial service is
> better
>
> On Wednesday, 16 March 2016 07:41:21 UTC-5, Yibing Liu wrote:
>>
>> Hello everyone, I developed a website with web2py. I have
>> set auth.settings.registration_requires_verification = True to verify the
>> register'
Hello everyone, I developed a website with web2py. I have
set auth.settings.registration_requires_verification = True to verify the
register's email. However some of the users tell me that they can't receive
the verification email. They try to re-register with the same email to get
the
在 2016年3月4日星期五 UTC+8上午2:37:30,Yibing Liu写道:
>
> Hello Everyone, I am installing an app from an .w2p file. However I get an
> error message "unable to install application". And I add the following code
> in gluon/admin.py app_install:
> except Exception:
&
Thank you very much.
在 2016年3月4日星期五 UTC+8上午3:27:31,Dave S写道:
>
>
>
> On Thursday, March 3, 2016 at 10:37:30 AM UTC-8, Yibing Liu wrote:
>>
>> Hello Everyone, I am installing an app from an .w2p file. However I get
>> an error message "unable to install ap
Hello everyone, I am using SQLFORM.smartgrid to edit the records in my
database. But when I press the "edit" button to edit a record in my
database the fileds value whose type is "list:string" not display. But
other type fields show the values fine. The following code is the field
definition:
Hello Everyone, I am installing an app from an .w2p file. However I get an
error message "unable to install application". And I add the following code
in gluon/admin.py app_install:
except Exception:
import traceback
print traceback.format_exc()
if did_mkdir:
Hello everyone. The databese of my web app is mongodb. I have defined a
table as the following
db.define_table('stu_jb',
Field("zy",label="major",type="list:string",requires=IS_IN_SET(major_lists,multiple=True)),
)
But when I add a record to the table I get the following error
I am using web2py. I cloned the latest version of pydal. I define a
'upload' field in my table. Then I upload a image whose filename is chinese
character. Everything seems ok so far. However when I try to access the
uploaded file with the download function, I get a server error. I have
found
My web2py version is 2.14.6.
I define a form in myview.html
`
`
In my default controler function 'index' I want to deal with the
request.vars passed from html.It works fine. Then I add a
form=SQLFORM.grid(query) to my function, I find that the
ch a way that the grid is the sole
> "manager" of the request/response cycle, so fiddling in the same page with
> your own pieces of code may result in issues.
>
> On Monday, September 12, 2016 at 8:37:13 AM UTC+2, Yibing Liu wrote:
>>
>>
>> My web2
https://github.com/web2py/web2py/pull/1575 solved this problem.
在 2017年3月2日星期四 UTC+8下午7:01:10,Marlysson Silva写道:
>
> Appers some error ticket with a message? Or just just "server error" ..
>
> Em quarta-feira, 1 de março de 2017 23:52:54 UTC-3, Yibing Liu escreveu:
>
My computer is win7 x64. I am using eclipse(4.6.2) ,pydev(5.5.0),
python(2.7.13) and the web2py latest cloned from the github. Compared with
the 2.14.6 stable version web2py, the latest cloned web2py has many
additonal files which I guess may be used for compiling and debugging.
However when I
15 matches
Mail list logo