Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
| File tg-devtools.patch,
863 bytes
(added by Gustavo, 4 years ago) |
|
A patch to the default template, so that it includes the now mandatory configuration parameters. It also fixes a typo: base_config.sa_auth.user should be base_config.sa_auth.user_class
|
-
|
|
|
|
| 33 | 33 | base_config.auth_backend = 'sqlalchemy' |
| 34 | 34 | base_config.sa_auth = Bunch() |
| 35 | 35 | base_config.sa_auth.dbsession = model.DBSession |
| 36 | | base_config.sa_auth.user = model.User |
| | 36 | base_config.sa_auth.user_class = model.User |
| 37 | 37 | base_config.sa_auth.user_criterion = model.User.user_name |
| 38 | 38 | base_config.sa_auth.user_id_column = 'user_id' |
| | 39 | base_config.sa_auth.group_class = model.Group |
| | 40 | base_config.sa_auth.permission_class = model.Permission |
| 39 | 41 | |
| 40 | 42 | # override this if you would like to provide a different who plugin for |
| 41 | 43 | # managing login and logout of your application |
Download in other formats: