Changes between Version 38 and Version 39 of S3/S3REST/s3_rest_controller


Ignore:
Timestamp:
10/24/10 06:45:31 (11 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3REST/s3_rest_controller

    v38 v39  
    4343== Basic Options ==
    4444
     45All of the following options are set using:
     46
     47{{{
     48s3xrc.model.configure(table, key=value)
     49}}}
     50
     51where:
     52  - '''table''' is the respective DB table
     53  - '''key''' is the setting key
     54  - '''value''' is the configuration value
     55
     56You can specify multiple settings at once:
     57{{{
     58s3xrc.model.configure(table, key1=value1, key2=value2, ...)
     59}}}
     60
     61'''configure''' overrides any settings that have been made for that table before (e.g. in the model), where only the specified keys are changed while all others are left untouched.
     62
     63You can also delete a particular setting by:
     64
     65{{{
     66s3xrc.model.clear_config(table, "key")
     67}}}
     68
     69where "key" must be the respective key as ''string''.
    4570=== Redirection ===
    4671