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(
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
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
3 matches
Mail list logo