Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 14 and Version 15 of SimpleWidgetForm


Ignore:
Timestamp:
04/14/06 09:34:56 (13 years ago)
Author:
oefe
Comment:

updated for new configuration structure

Legend:

Unmodified
Added
Removed
Modified
  • SimpleWidgetForm

    v14 v15  
    3333with the name ``FormsTutorial``. 
    3434 
    35 The first thing users upgrading from 0.8 should notice is that the ``dev.cfg`` 
    36 and ``prod.cfg`` files have been replaced with ``devcfg.py`` and 
    37 ``prodcfg.py``.  Obviously, these new files are python files with all that 
    38 implies. You can now programmatically determine settings, but you are advised 
    39 to keep your code side-effect free, as there is no guarantee as to how many 
    40 times the file will be evaluated. 
    41  
     35The first thing users upgrading from 0.8 should notice is that the configuration 
     36layout has changed a bit. 
    4237All configuration that was previously duplicated between dev and prod 
    43 has been moved to ``formstutorial/config.py``. Sections are now marked with 
    44 the path() directive and paths are created using the absfile() directive 
    45 (which uses sys.path.join under the hood so directory separators are as 
    46 expected). See the end of ``formstutorial/config.py`` for examples. 
    47  
    48 Some features of the ``formstutorial/config.py`` file to note (but which will 
     38has been moved to ``formstutorial/config/app.cfg``. 
     39 
     40Some features of the ``app.cfg`` file to note (but which will 
    4941not be discussed): 
    5042 
     
    5648  ``tg.allow_json`` variable to true. 
    5749* TurboGears now comes with Visit Tracking and an Identity framework. Both 
    58   are enabled by default. 
     50  are disabled by default. 
    5951 
    6052