Changes between Version 23 and Version 24 of DeveloperGuidelinesNewModule
- Timestamp:
- 02/14/09 22:13:54 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelinesNewModule
v23 v24 8 8 === Model === 9 9 Add module to db.s3_module: 10 * {{{/models/__db.py}}} 10 * http://127.0.0.1:8000/sahana/appadmin/select/db?query=db.s3_module.id%3E0 11 12 This makes it visible on the front page & the left-hand navigation menu. 13 14 To make this change in code not just in this isnatcne, then edit {{{/models/__db.py}}}: 11 15 {{{ 12 16 # Populate table with Default modules … … 20 24 ) 21 25 }}} 22 * Now stop the Web2Py instance.23 * Delete the database: {{{/databases/*_s3_module.table}}}24 * Restart the Web2Py instance.25 26 26 This makes the new module visible on the front page & the left-hand navigation menu.27 27 28 28 Create a file {{{/models/module.py}}}