Changes between Version 4 and Version 5 of BluePrintBzrHooks


Ignore:
Timestamp:
01/01/09 22:23:48 (13 years ago)
Author:
Fran Boon
Comment:

+db populate tool snippet

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintBzrHooks

    v4 v5  
    88
    99We need a tool to populate the database with reference data.[[BR]]
    10 This is like {{{gis_conf.inc}}} & {{{mysql-config.sql}}} for S2
     10This is like {{{gis_conf.inc}}} & {{{mysql-config.sql}}} for S2:
     11{{{
     12db.module.insert(
     13            name='gis',
     14            name_nice='situation_awareness',
     15            menu_priority=7,
     16            description='Mapping & Geospatial Analysis',
     17            enabled=True
     18            )
     19}}}
    1120
    1221We need a tool to empty the databases (& reset IDs).[[BR]]