Changes between Version 23 and Version 24 of DeveloperGuidelinesNewModule


Ignore:
Timestamp:
02/14/09 22:13:54 (16 years ago)
Author:
Fran Boon
Comment:

Instance vs Code Module addition

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelinesNewModule

    v23 v24  
    88=== Model ===
    99Add 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
     12This makes it visible on the front page & the left-hand navigation menu.
     13
     14To make this change in code not just in this isnatcne, then edit {{{/models/__db.py}}}:
    1115{{{
    1216# Populate table with Default modules
     
    2024        )
    2125}}}
    22  * Now stop the Web2Py instance.
    23  * Delete the database: {{{/databases/*_s3_module.table}}}
    24  * Restart the Web2Py instance.
    2526
    26 This makes the new module visible on the front page & the left-hand navigation menu.
    2727
    2828Create a file {{{/models/module.py}}}