Changes between Version 26 and Version 27 of GSOCWebSetupImplementation
- Timestamp:
- 04/06/11 03:49:22 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GSOCWebSetupImplementation
v26 v27 7 7 ==== Def setting(): ==== 8 8 9 These will be imported into the models of the web setup so will run before the models .The settings layout needs to be stored in here. 10 The settings is a dict with keys as the: 9 We will copy this file from Eden ( s3cfg can be changed to generated this file during its run )into the modules of Web Setup and make it run. These would be locally imported in the Models so they will be executed first: 11 10 “categary”.”field_id” 12 11 … … 27 26 These are really useful for views as this provide the information regarding input type, the value to select from, the field name and the validation requirement. These layouts are mostly for the views. Some of these like port will also contain a validation field for the range of accepted values. 28 27 29 These will be added in the modules of Eden so that they can be later be used to reduce the redundant code from s3cfg and 000_config.py. 30 We will copy that file into the modules of Web Setup and run this file. 31 28 ==== Change in s3nfig to generate the dict shown above ==== 29 30 {{{ 31 32 changing s3cfg to generate this dict 33 34 1. Write 35 a."settings = {" in the starting of the dict 36 b.settings_type + "." + settings_name in each get function 37 c.also specify the details like input type over there. 38 39 40 }}} 41 42 Thus only s3cfg will contaon all the dict . 43 44 After gsoc we can also change s3cfg in the starting to generate 000_config if it is the first time of run 32 45 33 46 ==== Def modules() : ====