Changes between Version 28 and Version 29 of DeveloperGuidelinesNewModule
- Timestamp:
- 02/18/10 08:59:39 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelinesNewModule
v28 v29 12 12 This makes it visible on the front page & the left-hand navigation menu. 13 13 14 To make this change in code not just in this instance, then edit {{{/models/0 0_db.py}}}:14 To make this change in code not just in this instance, then edit {{{/models/01_module.py}}}: 15 15 {{{ 16 16 # Populate table with Default modules … … 19 19 name="veh", 20 20 name_nice="Vehicle Management System", 21 priority= 16,21 priority=<INSERT NEXT SEQUENTIAL PRIORITY HERE>, 22 22 description="Allows the management of vehicles", 23 23 enabled='True' … … 26 26 27 27 28 Create a file {{{/models/ module.py}}}28 Create a file {{{/models/<MODULE NAME>.py}}} 29 29 30 30 Add tables to this file, as-required for your resources.[[BR]] … … 62 62 63 63 === Controller === 64 Create a file: {{{/controllers/ module.py}}}64 Create a file: {{{/controllers/<MODULE NAME>.py}}} 65 65 66 66 Add the S3 framework functions: