[web2py] Moving away from define_table

2012-05-10 Thread Christopher Baron
Hi, I've been using web2py for a few years now. What I find most annoying is the DAL. I understand that its easy for people who don't have a programming background, but anytime I want to make changes to columns - I run into issues large and small. I'd simply prefer to manage my database wit

[web2py] modules and plugins

2011-09-13 Thread Christopher Baron
Hi web2py users, Let's say I have a lot of functions that I would like to include into a plugin. I do not want all of these functions in the controller of the plugin. What's the best way to include a large number of utility functions into a plugin ? Thanks in advance, Chris

[web2py] Re: form.accepts returning false

2011-09-07 Thread Christopher Baron
. On Sep 7, 3:11 pm, Cliff wrote: > If your form doesn't have the default hidden fields, the controller > assumes it's a resubmit and fails silently. > > Check out the book, Chapter 7, SQLFORMS. > > But why would you want to do this? > > On Sep 7, 2:05 pm, Chris

[web2py] Re: form.accepts returning false

2011-09-07 Thread Christopher Baron
Form.errors is an empty storage object. So... it was unsubmitted ? How is this possible when I'm using the controllers/appadmin.py that comes with web2py ? On Sep 7, 2:01 pm, Rufus wrote: > Did you look at form.errors to find out why it returns false? > > If form.errors doesn't exist, the accep

[web2py] form.accepts returning false

2011-09-07 Thread Christopher Baron
Hi web2py users, When trying to update a row in a database table using the appadmin interface, it does not work. The same page returns with the original values. In the appadmin controller, form.accepts is returning false - this may have to do with a hack I've made to the controllers.appadmin.py

[web2py] Re: windows xp and source web2py

2011-09-06 Thread Christopher Baron
icly (if no firewall) and -p 80 sets the > port. > > On Sep 6, 2:15 pm, Christopher Baron wrote: > > > > > > > > > Hi web2py users, > > > I'm running a web2py server on a windows xp machine.  Let's call it > > the kiosk machine.  The ki

[web2py] windows xp and source web2py

2011-09-06 Thread Christopher Baron
Hi web2py users, I'm running a web2py server on a windows xp machine. Let's call it the kiosk machine. The kiosk machine has a static IP. I am able to ping the kiosk machine from other computers on the network. However, I'm unable to send an http request from a computer on the network to the

[web2py] Re: powertable ( multiple tables on the same page )

2011-07-19 Thread Christopher Baron
Does anyone know where, what to set the 'aoColumns' property to ? The documentation for this plugin is not helpful... On Jul 18, 1:25 pm, Roberto Perdomo wrote: > I now discover that only show the details only for the first 10 records. > > I send you to your mail my app, because is very hevy for

[web2py] Re: table auth_user already exists

2011-06-27 Thread Christopher Baron
Ok, auth.define_tables( migrate=False ) seems to fix it, but what happens when a future web2py update changes the auth tables ? On Jun 27, 3:09 pm, Christopher Baron wrote: > I've tried > > db = DAL("mysql://%s:%s@%s/%s" % (user, password, host, dbname), > migrate=Fa

[web2py] Re: table auth_user already exists

2011-06-27 Thread Christopher Baron
I've tried db = DAL("mysql://%s:%s@%s/%s" % (user, password, host, dbname), migrate=False) and still have the same problem. On Jun 27, 3:07 pm, Christopher Baron wrote: > I upgraded via the admin update link and received an error, so I went > ahead and downloaded the sour

[web2py] Re: table auth_user already exists

2011-06-27 Thread Christopher Baron
gt; > > wrote: > > Did you upgrade by the web2py "admin" update link? > > > Richard > > > On Mon, Jun 27, 2011 at 2:22 PM, Christopher Baron > > wrote: > > >> Hi web2py users, > > >> Just upgraded to Version 1.97.1 > > >>

[web2py] table auth_user already exists

2011-06-27 Thread Christopher Baron
Hi web2py users, Just upgraded to Version 1.97.1 I checked my code out into the new directory, opened my browser, and received and error stating 'auth_cas' already exists. I removed all files from the databases folder and tried again receiving an error that 'auth_user' already exists. I'm using