Summary: We can't make some database migrates on MySQL because we can't
DROP column with foreign key. Suggestions?
Em segunda-feira, 18 de agosto de 2014 09h46min49s UTC-3, Diogo Munaro
escreveu:
>
> Hey guys, I'm trying to do CI (continuous integration) on web2py
> application.
>
> I really ne
On Tuesday, August 12, 2014 10:16:33 AM UTC-7, Dave S wrote:
>
>
>
> On Monday, August 11, 2014 10:24:37 PM UTC-7, Massimo Di Pierro wrote:
>>
>> http://www.meetup.com/OWASP-OC/
>>
>> Are you nearby?
>>
>
> Yep, that Orange County.
>
>
And well worth having pizza and beer pushed at me!
Thanks ag
Sorry but I just did the same and I needed to mention the db name:
change DAL connection string in app to:
db = DAL('mysql://user_name:password@mysql.server/database_name')
[for
pythonanywhere, the database_name is in the form user_
Hi Massimo
Here's an example:
T.M("hello ``you``:custom", extra=dict(custom=lambda x: SPAN(x, _style=
"font-size:0.8em")))
which throws
*** TypeError: M() got an unexpected keyword argument 'extra'
Calvin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://git
you don't need anything. The binary is a compiled executable that happens
to use library.zip. As you already tested, even with the missing gluon
folder everything works fine, that is precisely the point of having a
binary.
If instead you have python installed and you want to play with additional
ok, so it's definitely getting "hanged" between your "custom logging" (that
you say it's just before the return at the end of your task) and updating
the result + the status of the task.
Are you by any chance using lots of print statements in your task ?
If you're using popen2 (that anyway is NO
create a database on pythonanywhere
for excample:
Database host adress : mysql.server
Username : yourusername
Database Name : db1
Password : yourpassword
then go to your database modell db.py and change the default
from: db = DAL('sqlite://storage.sql
By default, model files in subfolders are only run when the subfolder name
matches request.controller and/or request.function. If you want different
behavior, you have to explicitly set response.models_to_run. Please see the
documentation:
http://web2py.com/books/default/chapter/29/04/the-core#
Hi,
When I try to run a homemade task models defined in subfolders of the
application model folder are not executed. Only models defined directly in
the model folder are executed. Is this a bug or is this the normal
behavior for homemade task?
I'm using Web2py Version 2.9.5-stable+timestamp.
Hi Niphlod, thanks very much for your reply.
In this case, should I unzipp and open the zipped library folder that
contains the gluon folder and many other folders or I don't need to open
that folder in the web2py directory?
On Friday, August 22, 2014 3:03:05 PM UTC+8, Niphlod wrote:
>
> yu're
Hi Massimo,
Nice, now it works without any workarounds :)
However about point 1, when I set db.child.parent.writable=False :
-- bootstrap3_inline - the value misses the class .form-control-static to
vertical align the value with his label
-- bootstrap3_stacked - the html output is "Label: Val
I want to host my web2py application on python anywhere with MySQL database
on my domain.how to import MySQL database ?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Repor
Niphlod,
The following is the output from start of scheduler to the point where I
Ctrl-C'd it, with the task run in the middle
Here's the process output during the run...
[root@centos-63 ~]# ps -ef | grep web
root 7585 7521 0 05:34 pts/000:00:00 python web2py.py -K
APITool2 -D 0
root
I know I can put app-specific modules into application//modules. This
is not what I meant.
I mean I want a different python interpreter per each app - is that
possible?
Because one of them will have installed library in version X and the other
one will have installed the same libary, but in ver
yu're using the binary. not the source code
On Thursday, August 21, 2014 4:11:34 PM UTC+2, Joe wrote:
>
> I am using windows and when I downloaded web2py I unzipped it and I have
> been using it, it works fine, however, I noticed that between the extras
> folder and the handlers folder the g
Given the weirdness, I'd still want to see the entire thing with the DEBUG
level.
On Thursday, August 21, 2014 8:36:44 PM UTC+2, Stephen Weiss wrote:
>
>
> Yes, those messages appear far back in the logs, which I didn't include.
>
> I only included a snapshot of the debug output at the end of the
16 matches
Mail list logo