If you use pydev then put an
import pydevd;pydevd.settrace()
where the breakpoint should go.
2012. március 23., péntek 23:44:17 UTC+1 időpontban dlypka a következőt
írta:
>
> I believe you must delete all .pyc files before running it with
> breakpoints.
>
> On Mar 23, 1:18 pm, web2py_tn wrot
I don't know if this going to help. But i've made an extend of DAL,
OracleAdapter and Table so they could work with schema/database
descriptor.
https://github.com/adesst/MyDAL
So far what i did is to meet my need, and yes there are lots of work
to make my extension work well with inner join and
Dear everyone
I have to query data from my datastore (GAE) and then save it to
another table in the same datastore in the upload field in as a
sqlite database file for download.
Do anyone has an ideas, Thanks in advance.
Ariya
>
> You can use selectable, for example:
>
> selectable = lambda ids: delete(ids)
> form=SQLFORM.grid(query,selectable=selectable)
>
> def delete(ids):
> to_delete=db(db.tabla.id.belongs(ids))
> to_delete.delete()
>
Nice. Forgot about that.
I have this when i put a {{row}} in a template (liste_invitations) :
{{extend 'layout.html'}}
Records
{{=rows}}
it gives me :
Invitation.id Invitation.Code Invitation.Usage Invitation.Donneur
Invitation.Receveur Invitation.Email Invitation.Used
1 Toto-5542 None None None None None
2 USER_INTERFA
Thanks, Massimo. I'll check it out shortly.
On Mar 24, 7:54 am, Massimo Di Pierro
wrote:
> Added to trunk.
>
>
>
>
>
>
>
> On Friday, 23 March 2012 09:36:11 UTC-5, Anthony wrote:
>
> > Congratulations, it appears you are the first person to need a reset
> > password callback. :-)
>
> > On Friday,
When a Rows object is serialized in a view, it is passed to SQLTABLE, which
has a "truncate" argument that defaults to 16. Instead, you can call
SQLTABLE explicitly:
{{=SQLTABLE(rows, truncate=None)}}
Anthony
On Saturday, March 24, 2012 9:41:51 AM UTC-4, bussiere adrien wrote:
>
> I have this
Thanks again regards
Bussiere
Le samedi 24 mars 2012 15:11:50 UTC+1, Anthony a écrit :
>
> When a Rows object is serialized in a view, it is passed to SQLTABLE,
> which has a "truncate" argument that defaults to 16. Instead, you can call
> SQLTABLE explicitly:
>
> {{=SQLTABLE(rows, truncate=Non
I don't understand here is my db :
from gluon.tools import Auth, Crud, Service, PluginManager, prettydate
auth = Auth(db, hmac_key=Auth.get_or_create_key())
crud, service, plugins = Crud(db), Service(), PluginManager()
db.define_table(
auth.settings.table_user_name,
Field('Surnom', length=128, defa
I need a simple recipe juste to create a user in command line / program to
create him and log him as :
like :
user = db.auth_user.insert(name="johndoe",password="toto")
auth.user = user
auth.environment.session.auth = Storage(user=user, last_visit=request.now,
I realize that it seems like I'm mixing apples and oranges here. But bear
with me a minute. What I'm thinking about is not web-served client-only
apps but locally installed apps (whether desktop or mobile) that use
html+css+js as their front end. My point is that MS and Mozilla (and
others) are
I think part of your misunderstanding of me is that I'm not talking about
html5 webapps. I'm talking about the migration of an html5/css/js
environment to desktops and mobile phones. There's no reason not to also
install python there, so that a python framework can drive the production
of the h
How soon will this get into the nightly build? I tried the latest
nightly build and it doesn't seem to have any pertinent change in
behavior.
On Mar 24, 7:54 am, Massimo Di Pierro
wrote:
> Added to trunk.
>
>
>
>
>
>
>
> On Friday, 23 March 2012 09:36:11 UTC-5, Anthony wrote:
>
> > Congratulation
As I suggested to Derek, I think I've caused some confusion by not being
clearer in my original question. I'm not thinking about client-only
web-apps. I'm thinking about locally installed apps that use an html5
front-end. This is what win8 is promoting, and that's also the thrust of
Mozilla's a
I'm not sure if this is what you meant but I've wondered if Web2py would
make a good framework for being able to distribute a self-contained app to
be run locally. For example, I've seen some point-of-sale systems that
package up a Ruby + Postgres runtime designed to be run locally (I believe
S
FYI Massimo, I sent you some via email on the 14th.
On Sunday, March 11, 2012 7:41:14 PM UTC-5, Massimo Di Pierro wrote:
>
> Please email me one of the tickets that causes the problem and one of the
> tickets generated by admin as consequence.
>
> On Saturday, 10 March 2012 20:48:04 UTC-6, Brian
I'm having problems with my app apparently throwing errors and eventually
Apache itself becoming unresponsive. I'm running on Windows with Python
2.6. The (hopefully relevant) part of the error ticket is below (I usually
can't view them through the admin app, but maybe that's a separate
issue
Yes, I think web2py can already produce a self-contained local app running
from the rocket server. At least I think there was a recipe for that in the
last edition of the book (I haven't looked in a while).
The issue of web2py being 'thick' for the purpose is very much what I was
wondering abou
>
> As I suggested to Derek, I think I've caused some confusion by not being
> clearer in my original question. I'm not thinking about client-only
> web-apps. I'm thinking about locally installed apps that use an html5
> front-end. This is what win8 is promoting, and that's also the thrust of
OK. That makes sense. A bit frustrating, though, that the Mozilla apps are
limited to js. I guess that's why I keep developing for the web--it's still
the only truly cross-platform environment with any kind of muscle in the
back end.
On Saturday, March 24, 2012 3:49:36 PM UTC-4, Anthony wrote:
I've copied this from the bottom of another thread.
The DAL gives different SQL when a query is provided in string format.
Is this a bug, or should I not expect this to work?
See the example below, the first SQL works, the second SQL raises an
error.
>>>from gluon.dal import Query
>>>query =
I need to reinstall web2py. It works now .
/F
Den söndagen den 11:e mars 2012 kl. 12:53:52 UTC+1 skrev Martin.Mulone:
>
> What is not working?, you change views/layout.html?
>
> 2012/3/11 frasse
>
>> Hi
>>
>> I like to use my custom css and add it to my application base.css mess
>> my applicatio
Fixed in trunk
Fixed in trunk
On thr road. Will look at this asap
Please open an issue and ask to be mrged to trunk
I would like to integrate the web2py ticketing system with github
issues API[1]. I believe it would be a nice feature for web2py 2.0.
If there is interest I can write a POC of what would such integration
and of course give a better explanation around that.
Thoughts?
1) http://develop.github.com/
password="toto"
my_crypt = CRYPT(key=auth.settings.hmac_key)
crypt_pass = my_crypt(password)[0]
user = db.auth_user.insert(
Surnom="Surnom",
email="email",
password=crypt_pass,
)
db.commit()
session.auth =
Storage(user=user,expirati
Please open a ticket
I am fairly new to Linux, Python and web2py so I have given myself a
project to help me learn - I'm aware its fairly ambitious as a first
project!
I was involved in the design of a windows based system a while ago,
and I would like to try and emulate its functionality on Linux.
The original syst
Hi,
Thanks for the help. I had too much to work on, so I left the problem for
the time.
Now I am back working on blobstore module.
I was looking at the code in web2py slices and in other threads in the
group and got confused again.
I think the problem is too many versions/parts of the code here
Normally the best option for your case is XMLRPC. Take a look at "services"
chapter on web2py book.
http://zerp.ly/rochacbruno
Em 25/03/2012 02:11, "Sam" escreveu:
>
> I am fairly new to Linux, Python and web2py so I have given myself a
> project to help me learn - I'm aware its fairly ambitious
32 matches
Mail list logo