Skip to content

Commit

Permalink
minor rewording
Browse files Browse the repository at this point in the history
  • Loading branch information
timrichardson committed Feb 11, 2015
1 parent e63b0a9 commit 41de03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/29-web2py-english/06.markmin
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Also, remember maintainability: other web2py developers expect to find model def
To use the "model-less" approach, you take responsibility for doing these two housekeeping tasks.
You call the table definitions when you need them, and provide necessary access to global scope via the current object. (as documented in chapter 4 [[sharing global with the current object ../04#current_object]] )

For example, a typical model-less application may leave the definitions of the database objects in the model file, but want to define tables on demand.
For example, a typical model-less application may leave the definitions of the database connection objects in the model file, but define the tables on demand per controller function.

The typical case is to move the table definitions to a module file (a python file saved in the modules directory).

Expand Down

0 comments on commit 41de03c

Please sign in to comment.