[web2py] Re: web2py : Attribute Error with MySQL

2015-10-30 Thread Niphlod
setting migrate=False DISABLES all migration logic. It's working exactly as expected! On Friday, October 30, 2015 at 12:51:26 AM UTC+1, Maelle Taurand wrote: > > > Hi, > > I'm creating an application with web2py. The data storage is MySQL. > > In the db.py, I define a table : > > db.define_table(

[web2py] web2py : Attribute Error with MySQL

2015-10-29 Thread Maelle Taurand
Hi, I'm creating an application with web2py. The data storage is MySQL. In the db.py, I define a table : db.define_table('ligue', Field('nom','string',requires=IS_NOT_EMPTY()), Field('adresse','string',requires=IS_NOT_EMPTY()), Field('ville','string',requi

[web2py] Attribute Error

2011-04-10 Thread David J.
In my controller I am defining a class class Employee: pass john = Employee() # Create an empty employee record # Fill the fields of the record john.name = 'John Doe' john.dept = 'computer lab' john.salary = 1000 and in my view I am trying {{=employee.name}} It throws an attrib