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 18 and Version 19 of 2.0/changelog


Ignore:
Timestamp:
09/02/08 22:51:49 (11 years ago)
Author:
mramm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2.0/changelog

    v18 v19  
    3434=== Upgrading from 1.9.7a3 === 
    3535 
     36    * The name of the `tg.config` module has been changed to `tg.configuration`.  You must change your `config/app_cfg.py` file accordingly: 
     37{{{ 
     38-from tg.config import AppConfig, Bunch 
     39+from tg.configuration import AppConfig, Bunch 
     40}}} 
     41 
    3642    * You must define the user_class, group_class, and permission_class in app_config.py when using the authorizaiton plugin.  
    3743{{{ 
     
    4450}}} 
    4551 
    46    *  TG2 no longer binds the database engine to the DBSession or metadata soyou can decide how you want to handle this (perhaps to re-bind the session dynamically to a different engine on a per-request basis, etc...). 
     52   *  TG2 no longer binds the database engine to the DBSession or metadata so you can decide how you want to handle this (perhaps to re-bind the session dynamically to a different engine on a per-request basis, etc...). 
    4753 
    48 This is now done in the yourapp.model.init_model callback which iscalled when your app is loaded and passed a configured engine as a parameter. To upgrade an existing project just add one line to __init__ in you model directory, as shown here.  
     54This is now done in the yourapp.model.init_model callback which is called when your app is loaded and passed a configured engine as a parameter. To upgrade an existing project just add one line to __init__ in you model directory, as shown here.  
    4955 
    5056{{{ 
     
    5359}}} 
    5460 
    55 Of course if you're starthing a new project, this is done automatically for you by quickstart.  
     61Of course if you're starting a new project, this is done automatically for you by quickstart.  
    5662 
    57    *  If you turn on new-style renderers, you must now provide the filename (and whatever path information is nessisary) in expose, including the .html extension. Furthermore, we're now regestring the template directory in the search path directly, so expose can be simpler. The old expose: 
     63   *  If you turn on new-style renderers, you must now provide the filename (and whatever path information is necessary) in expose, including the .html extension. Furthermore, we're now registering the template directory in the search path directly, so expose can be simpler. The old expose: 
    5864 
    5965{{{