[Chicago] web2py 1.20 is out

Massimo Di Pierro mdipierro at cs.depaul.edu
Tue Feb 5 21:39:43 CET 2008


The web2py ORM has this "limitation":

> assume that every table has an auto-incrementing int called "id"

It is easy to ALTER + UPDATE any existing database to be compliant.

Some people think that the job of a framework should let developer do  
everything. Other people think that the framework should try to force  
the developer to follow good practice.

I believe it is good practice for DB tables to have a unique  
autoincrement id field and that is why web2py requires it. This  
"limitation" make the table portable across multiple back-end databases.

Massimo


More information about the Chicago mailing list