Thanks again Richard, Dave for your useful hints.
Just to clarify, the need of trusting a user with formula editing is for
allowing a non-IT trusted user to edit the business logic that has to be
processed in an application. That means getting data from the database,
processing it, storing the
in python if you have
import a
blablabla
import b
blablabla
import a
the second "import a" statement is executed, but is a no-op.
On Friday, April 29, 2016 at 1:20:59 AM UTC+2, Mark Billion wrote:
>
> I understand that the whole default.py file is executed on each request to
> a function inte
def __after_insert_redemption_detail(f, id):
query_unit = db.unit.account == f['account']
row_unit = db(query_unit).select(orderby = ~current.db.unit.id).first()
insert_unit_unit = row_unit.unit - f['unit'] if row_unit else f['unit']
insert_unit_previous_unit = row_unit.unit if row_unit else 0
ins
>
>
> When you face the problem of scaling to serve more concurrent requests,
> either you do spawning more processes, or adding servers.
> Adding frontend servers is easy: the data is transactionally consistent as
> long as you have a single database instance. You put a load balancer in
> fron
Thank you Michael. Great tips!
--
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 subscribed to the Google Groups
pythonanywhere is a PaaS, and one of the simpler... start worrying when
your site isn't speedy enough.
Fortunately you won't have to change a single thing in your app if no the
cache initialization...
On Friday, April 29, 2016 at 10:58:34 AM UTC+2, Pierre wrote:
>
>
>> When you face the problem
ok
I'll check if I can afford the single worker version to start with and I
hope this one knows how to spawn
Is the web2py book at pythonAnywhere cached ? If I didn't miss too many
things, it's a good candidate for caching
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentatio
pythonanywhere has a totally different set of limits but if you choose a
PaaS, you don't get to worry about nitty gritty details .
you're right, the book is an optimal candidate for caching and if you see
its code it's actually cached everywhere although the book isn't a
good example becau
Right, but if the import is a conditional one -- ie, only import a if a
condition evals to true -- does it no op the import if the condition goes
to false or does it import all and then execute?
On Friday, April 29, 2016 at 3:23:40 AM UTC-4, Niphlod wrote:
>
> in python if you have
>
>
> import
it's like math with parenthesis...
if b == 1:
import a
will trigger "import a" when b == 1 . the first time b==1 it'd be a real
import, the second time it'd be a no-op
if b is never going to be == 1, import will be never triggered.
On Friday, April 29, 2016 at 3:32:05 PM UTC+2, Mark Billi
works:
Field("something", 'list:string'),
Field("someting2", 'list:integer'),
But no such thing as:
Field("something3", 'list:datetime')
I imagine its same as upload field, we need to create a one to many
relationships with a table. Any shortcuts?
On Tuesday, January 19, 2016 at 2:47:44 AM UT
You can't access the admin app when in production for security reason...
I think Massimo should have a look at the issue...
Richard
On Thu, Apr 28, 2016 at 3:42 PM, wrote:
> Access to books in Spanish version, except the prologue, gives the
> following error
>
> Access:
> http://web2py.com/boo
For me wasn't clear if it should be string, list, or ..., how to set for
localhost and so on...?
However now it is clear to me. -- It's enough take a look into
applications/welcome/private
Thanks.
Dne středa 27. dubna 2016 8:35:10 UTC+2 Niphlod napsal(a):
>
> put there the host your app is on
fixed.
On Friday, 29 April 2016 09:25:52 UTC-5, Richard wrote:
>
> You can't access the admin app when in production for security reason...
>
> I think Massimo should have a look at the issue...
>
> Richard
>
> On Thu, Apr 28, 2016 at 3:42 PM, wrote:
>
>> Access to books in Spanish version, exce
I am a new user. With both the 2.9 (stable) and this latest I cannot get
the KPAX cms to run. web2py seems ok and the KPAX installs with no errors.
This is on a Macbook Pro running Yosemite with bundled Python 2.7. Thanks
for your help.
On Tuesday, April 12, 2016 at 5:29:26 PM UTC-4, Massim
Hi Partners!
Please provide some valuable resources for this position.
*Position: PRPC Senior System Architect*
*Location: Phoenix, AZ/ Plantation, FL*
*Client: TCS*
*Duration: 12+ months*
*Key Responsibilities And Accountabilities:*
Responsible for designing and building components
Hey Salma,
Looking at this post...it seems Pega is as much related to chess as it is
to web2py. Why its posted on this forum? Just asking...
-Ron
On Friday, April 29, 2016 at 11:20:06 AM UTC-4, salma bhat wrote:
>
> Hi Partners!
>
>
>
> Please provide some valuable resources for this positio
I'm defining some functions in the modules folder that need to access and
insert rows into the db. in the controller, I define "current.db = db" then
in the module I import the db as seen below.
I define the function below and attempt to import it and queue it up using
Scheduler, but receive "'
On Friday, April 29, 2016 at 9:05:34 AM UTC-7, Marty Jones wrote:
>
> I'm defining some functions in the modules folder that need to access and
> insert rows into the db. in the controller, I define "current.db = db" then
> in the module I import the db as seen below.
>
> I define the function be
I seem to have resolved it by switching "db = current.db" to "db =
current.globalenv['db']"
On Friday, April 29, 2016 at 12:05:34 PM UTC-4, Marty Jones wrote:
>
> I'm defining some functions in the modules folder that need to access and
> insert rows into the db. in the controller, I define "cur
Tank Richard and Massimo from Montevideo/Uruguay
El jueves, 28 de abril de 2016, 16:42:56 (UTC-3), dome...@gmail.com
escribió:
>
> Access to books in Spanish version, except the prologue, gives the
> following error since leaving web2py 2.14.x
>
> Access:
> http://web2py.com/books/default/chapte
Here's the script. When I click it on load, works like a charm. When I
click it via a dynamically created element, the first click sees the actual
html shift (kind of stretch and go back). It does however work on the
second click consistently.
$(document).on('click', '.iframe_add', fun
Salma has been banned.
On Friday, 29 April 2016 10:43:49 UTC-5, Ron Chatterjee wrote:
>
> Hey Salma,
>
> Looking at this post...it seems Pega is as much related to chess as it is
> to web2py. Why its posted on this forum? Just asking...
>
> -Ron
>
>
> On Friday, April 29, 2016 at 11:20:06 AM UTC-
Hello Mark,
can you explain one moment the big picture. What do you want your app to do?
Massimo
On Friday, 29 April 2016 15:17:24 UTC-5, Mark Billion wrote:
>
> Here's the script. When I click it on load, works like a charm. When I
> click it via a dynamically created element, the first cli
Hi Mark,
Can you pull together a simple example showing this with your HTML, CSS and
Javascript. I understand what you are trying to do but I need to see more
in order to understand when the click event is being applied to the
.iframe_add objects.
Thanks
Stuart
On Friday, April 29, 2016 at 1
25 matches
Mail list logo