Re: [web2py] QR code generation from markmin

2021-03-03 Thread Peter Woolf
rkmin python script that could generate qr > codes. > > I think the ones that are there are static. > > You can use a qr code generator lib with python and combine with markmin > qr Syntax though. > > I think. > > > > On Mon, Mar 1, 2021, 15:59 P

[web2py] QR code generation from markmin

2021-03-01 Thread Peter Woolf
Hello, I see that web2py has documentation for generating QR codes from links using markmin, but it isn't working in my hands. Am I doing it incorrectly or is there a bug? Here is a minimal example of code in a view: --- {{from gluon.contrib.markmin.markmin2html import markmin2html}

Re: [web2py] download for mac not working

2019-07-25 Thread Peter Woolf
Ah, thanks Nico! I’ll check over there! -- 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 Googl

[web2py] download for mac not working

2019-07-24 Thread Peter Woolf
Hi All, I've been using web2py for a few years now, but was just downloading a fresh version (as of 7.24.2019) and I get an error window that just says "web2py Error". It gives two buttons "open console" or "terminate". I tried both the developer version and the normal users version, and in b

[web2py] Payment integration documentation needs update

2018-07-11 Thread Peter Woolf
Hello, I'm exploring ways to integrate a payment option into a web2py application and see that part of the documentation is quite outdated. http://web2py.com/books/default/chapter/29/14?search=payment#Accepting-credit-card-payments In particular, the section on Level 2 integration with Google C

[web2py] database migration question

2010-06-22 Thread Peter Woolf
Hi All, I'm trying to migrate a database from sqlite to mysql and am having some migration issues with foreign key references. In my original tables I have entries that have been deleted: table 1 id value 1 a 2 b 3 c 5 e (where the entry id=4 has been deleted) When

[web2py] Re: DAL Cassandra support

2010-03-25 Thread Peter Woolf
I would be appreciative if anyone did add Cassandra support for DAL in web2py too! -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2p

[web2py] SQLFORM.factory and boolean values

2010-02-22 Thread Peter Woolf
Hi All, I'm trying to make a simple boolean form that upon submission puts the form data into the URL, and in doing so defines the  states of each button.  Unfortunately this is not working, for reasons I can't see. In the code below, the button first defaults to checked.  If the button is desele

[web2py:32707] Re: crud forms for multiple records? Multiple tables?

2009-10-11 Thread Peter Woolf
eld('vaccination') > ) > > You can do things like: > > form=SQLFORM.factory(db.dogs,db.vaccinations) > > but you have to be careful about repeated fields. > > If you describe  the workflow of what you need to do perhaps we can > help more. > > Massimo &g

[web2py:32701] crud forms for multiple records? Multiple tables?

2009-10-11 Thread Peter Woolf
Can I create a crud form that simultaneously update multiple rows and multiple tables? I’ve been through the web2py manual a number of times, but don’t see this issue addressed. Below is an example: In db.py db.define_table( 'users' Field('name') ) db.define_table( 'dogs', Fi

[web2py:32506] Re: problem with crud custom forms

2009-10-08 Thread Peter Woolf
      return dict(form=crud(db.tablename)) > > def normal_edit(): >       db.tablename.fieldname.writable = False >       db.tablename.fieldname.readable = False > >       return dict(form=crud(db.tablename)) > > -Thadeus > > > > On Thu, Oct 8, 2009 at 10:47 AM, Peter

[web2py:32498] Re: problem with crud custom forms

2009-10-08 Thread Peter Woolf
30 am, Thadeus Burgess wrote: > Try setting the fields that you do not want edited with their > writable=False. Then using the basic {{=form}} syntax. > > db.tablename.fieldname.writable = False > db.tablename.fieldname.readable = False > > -Thadeus > > > > On Thu, Oct 8

[web2py:31559] Re: Almost working on the dreamhost server... $50 to the person that can make this a script!

2009-09-23 Thread Peter Woolf
if line=='INTERP = "/home/'+user+'/bin/python2.5"': found=1 if found==1: print "wsgihandler.py already modified" else: for l in range(len(ws)): if ws[l]=="#!/usr/bin/env python": ws[l]

[web2py:31552] Re: Almost working on the dreamhost server... $50 to the person that can make this a script!

2009-09-23 Thread Peter Woolf
After too much frustration, I made a simple script for installation on dreamhost, or likely most places (see below). It does not allow the admin because it is not local (still figuring out how to change that one--any ideas would be welcome). run by cd ~ python web2py.install.py The code is bel