Changes between Version 53 and Version 54 of ConfigurationGuidelines


Ignore:
Timestamp:
06/06/10 14:09:14 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConfigurationGuidelines

    v53 v54  
    4949In time these will be configured by [wiki:BluePrintWebSetup Web Setup].
    5050
    51 Some Auth options are currently only configurable via editing {{models/00_settings.py}}:
     51Some Auth options are currently only configurable via editing {{models/000_config.py}}:
    5252{{{
    5353S3_PUBLIC_URL
     
    6161In time we could expose to a Web-based admin page, although it's low priority as these are mostly installation-time decisions.
    6262
    63 Disable unnecessary modules, which is currently done in 2 areas:
    64  1. Hide the menus (to reduce UI clutter):
    65   * WebUI: /sahana/appadmin/index
    66   * Table: {{{db.s3_module}}}
    67  2. Disable the Models (to speed up performance):
    68   * edit file {{{models/01_modules.py}}}
    69   * section: {{{shn_module_enable}}}
    70  3. Can also reorganise the Modules menu completely to better display those relevant to the instance:
     63Disable unnecessary modules, which is currently done in {{{models/000_config.py}}}
     64
     65Can also reorganise the Modules menu completely to better display those relevant to the instance:
    7166  * edit file {{{models/01_modules.py}}}
    7267  * section: {{{s3.menu_modules}}}
     
    7570{{{
    7671# Hide unnecessary fields
    77 table = 'pr_person'
    78 db[table].pr_pe_label.readable = False
    79 db[table].pr_pe_label.writable = False
    80 db[table].local_name.readable = False
    81 db[table].local_name.writable = False
    82 db[table].opt_pr_gender.readable = False
    83 db[table].opt_pr_gender.writable = False
    84 db[table].opt_pr_age_group.readable = False
    85 db[table].opt_pr_age_group.writable = False
    86 db[table].email.readable = False
    87 db[table].email.writable = False
    88 db[table].mobile_phone.readable = False
    89 db[table].mobile_phone.writable = False
    90 db[table].date_of_birth.readable = False
    91 db[table].date_of_birth.writable = False
    92 db[table].opt_pr_nationality.readable = False
    93 db[table].opt_pr_nationality.writable = False
    94 db[table].opt_pr_country.readable = False
    95 db[table].opt_pr_country.writable = False
    96 db[table].opt_pr_religion.readable = False
    97 db[table].opt_pr_religion.writable = False
    98 db[table].opt_pr_marital_status.readable = False
    99 db[table].opt_pr_marital_status.writable = False
    100 db[table].occupation.readable = False
    101 db[table].occupation.writable = False
     72tablename = 'pr_person'
     73table = db[table]
     74table.pr_pe_label.readable = False
     75table.pr_pe_label.writable = False
     76table.local_name.readable = False
     77table.local_name.writable = False
     78table.opt_pr_gender.readable = False
     79table.opt_pr_gender.writable = False
     80table.opt_pr_age_group.readable = False
     81table.opt_pr_age_group.writable = False
     82table.email.readable = False
     83table.email.writable = False
     84table.mobile_phone.readable = False
     85table.mobile_phone.writable = False
     86table.date_of_birth.readable = False
     87table.date_of_birth.writable = False
     88table.opt_pr_nationality.readable = False
     89table.opt_pr_nationality.writable = False
     90table.opt_pr_country.readable = False
     91table.opt_pr_country.writable = False
     92table.opt_pr_religion.readable = False
     93table.opt_pr_religion.writable = False
     94table.opt_pr_marital_status.readable = False
     95table.opt_pr_marital_status.writable = False
     96table.occupation.readable = False
     97table.occupation.writable = False
    10298}}}
    10399