Thanks for including Stripe APIs in Web2Py.
Stripe provides from its' Web site a form and javascript template that
collects, clients browser, the credit card information, ships it off to
stripe for validation, and then returns the validated
credit card information as a token via a post to the W
in web2py.com/pdfbuy
>
> the API in gluon/contrib/stripe.py are designed to be called from the
> controller, not from the javascript.
>
> On Friday, 25 May 2012 18:07:33 UTC-5, james c. wrote:
>>
>> Thanks for including Stripe APIs in Web2Py.
>>
>>
?
thanks in advance, James C.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, v
It looks like the answer is that you can create an install "patch" for the
base Linux of TKL, Debian Squeeze, to install pypy.
regards, James
On Friday, March 29, 2013 4:07:23 PM UTC-7, james c. wrote:
>
> PyPy is a just in time compiled Python and from my little testing is a lo
My application/controller is creating a zipped folder of files
specific to each use and then the user downloads the folder. I'm able
to create the zipped folders OK and set up the disk caching without
apparently any errors, and I see that the system is updating the files
in the applications cache
At irregular intervals I need to cleanup files written by my
application for users. In the documentation it was suggested that one
of the possibilities is to launch a script to do this. I'm doing the
following from my controller and it works fine:
os.spawnl(os.P_NOWAIT, r'C:\Python25\python.exe',
Hi I'm new to web2py. I've made great progress in a few days with my
project.
SUMMARY: for every view I call, I get default.py as the controller.
Even if I specify app/view/view or app/namediffernt/view I still get
default.py as the controller. I appreciate any ideas or pointers on
what to try. th
using a different view -- it will not call the
function associated with the different view. To redirect, use the 'redirect'
command (http://web2py.com/book/default/chapter/04#HTTP-and-redirect), and
specify the page using the URL() function
(http://web2py.com/book/default/chapter/0
is (which won't work for
me): NAME
--
The Big Company
I would appreciate any advice or pointers on where to look further.
thanks in advance.
James C.
:14), there was a red 5 in the requirements Python
2.5x. It appears that many folks are now using 2.6x. I am going to
upgrade and hope that addresses my issues. If anyone sees anything
here or has more ideas I would appreciate the help or pointers to
documentation. Thanks, James C.
This is a ver
ccess it as a string. I did not notice this happening when working
similar test examples with similar python code just running in a
console.
thanks, james c.
Late Friday, while grasping at things like string output conversions
as possible solutions, I found alternate dicti
lists and dictionaries in a from the results I was seeing in
web2py. The example app is done. If you would still like me to send
it, let me know where to post it or email
thanks again, James C.
On Apr 4, 8:08 am, Anthony wrote:
> Hi James,
>
> Yes, why don't you send a simple app th
Is there a way to set Jqueryui Dialog options using web2py
clienttools?
thanks in advance, James C.
onse.flash = 'form accepted'
records=SQLTABLE(db().select(db.groups.ALL))
return jq("#clckAddGroups").append(DIV(_id="dialog"))() + \
jq("#dialog").html(form)() + \
jq("#dialog").dialog(dict(title="Name of Group",
modal="True", height="400", width="900"))()
Thanks in advance, for any tips or advice. James C.
My web app will be used by different companies. Defining roles and
permissions for the application works well for one company. With more
companies there are problems. Defining application table in db.py
seems to make the table available to all the companies. This demands
permissions defined at rec
e to
the ..._accounts_8.table. And I'm logged in as user_id = 8.
Again, any advice or points to docs would be appreciated. Thanks,
James C.
++ and I see what looks like all the added records.
Access to the ...accounts_8.table is not available through the admin
interface.
any other thoughts? James C.
On May 10, 2:23 pm, Anthony wrote:
> On Tuesday, May 10, 2011 4:01:34 PM UTC-4, james c. wrote:
>
> > I am having trouble with a key ex
Thanks Anthony. This works and the creation, read/write must be from
within the same function (as you said). thanks again for your help.
James
On May 10, 7:37 pm, Anthony wrote:
> On Tuesday, May 10, 2011 10:32:34 PM UTC-4, Anthony wrote:
>
> > To keep things DRY, you can define a template table
ate and drop
private tables, so I must be able to create and drop tables on demand.
- I don't see how I can do this in db.py. Any advice would be
appreciated on using the tables in the function or doing it all in
db.py. thanks in advance, james c
thanks Anthony for the quick reply. regards, james c.
On May 19, 9:26 pm, Anthony wrote:
> You can read more about all this
> here:http://web2py.com/book/default/chapter/06#Migrations
>
>
>
>
>
>
>
> On Friday, May 20, 2011 12:25:03 AM UTC-4, Anthony wrote:
>
mname.table')
> --
> Bruno Rocha
> [ About me:http://zerp.ly/rochacbruno]
>
>
>
>
>
>
>
> On Fri, May 20, 2011 at 2:01 AM, james c. wrote:
> > thanks Anthony for the quick reply. regards, james c.
>
> > On May 19, 9:26 pm, Anthony wrote:
>
I easily deployed my Web2Py app "with just a few clicks" through the
TurnKeyLinux Hub onto Amazon EC2. The Web2Py Admin console shows that the
app is running with Apache. However, it seems to still be running on Rocket
from an error message related to SSL. Any SSL connection attempt is
ignored.
ate rather than use a
developer-signed certificate?
Is this true? thanks, James
On Thursday, July 25, 2013 6:10:48 AM UTC-7, Massimo Di Pierro wrote:
>
> I do not know what the appliance does. Can you show us the code?
>
> On Wednesday, 24 July 2013 15:03:27 UTC-5, james c. wrote:
>
thanks, James
On Wednesday, July 24, 2013 1:03:27 PM UTC-7, james c. wrote:
>
> I easily deployed my Web2Py app "with just a few clicks" through the
> TurnKeyLinux Hub onto Amazon EC2. The Web2Py Admin console shows that the
> app is running with Apache. However, it seems to
The development defaults for a Web2Py App are Rocket Server and SQL Light.
I've deployed my application through the TKL hub and have kept the Web2Py
default configuration. My app runs fast on the local development system and
very slow on a small instance EC2 deployed through the TKL hub.
I ex
I am trying to access persistent data saved in an sqlite.db file without
wiping it out.
I start an interactive session with just python and no web2py and enter the
following:
>>> from pydal import DAL, Field
>>> db = DAL('sqlite://storage.sqlite', folder='home/cryptoj/venv',
auto_import=True)
This was an app being developed on windows and was saved as an appliance
file.w2p. I have it in a local directory. As admin, I've tried to load the
file.w2p as an appliance. I select the file and web2py displays the name in
the field after I've selected the file in the folder. But it won't load
db = DAL(myconf.get('db.uri'),
auto_import = True,
ignore_field_case = True,
entity_quoting = False,
pool_size = 10
migrate = True,
migrate_enabled = True,
check_reserved = ['common'],
lazy_tables = False)
. . .
auth = Auth(db, host_names=myconf.get('host.names'))
auth.settings.extra_fields['a
And the solution is to add fake_migrate=True into the DAL statement and the
auth.define_tables statement.
On Saturday, April 17, 2021 at 6:35:05 PM UTC-7 james c. wrote:
> db = DAL(myconf.get('db.uri'),
> auto_import = True,
> ignore_field_case = True,
> entity_quotin
Is it possible to use standard html elements, for example a button, in a
web2py view.
I've tried both within the default controller and a separate controller
named a_net.py and in both cases the function and views are named payment.
In both cases, a link: {{ =this_link }} is populated with th
30 matches
Mail list logo