Changes between Version 21 and Version 22 of SqlAlchemyQueryMacro
- Timestamp:
- May 10, 2018, 10:50:25 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SqlAlchemyQueryMacro
v21 v22 55 55 TRAC_REPLACE = "your_trac_environment" # name of your trac environment (relative path without slashes) 56 56 MAX_ROW_COUNT_REPLACE = "1000" # maximum numbers of rows for the query result to display 57 TABLE_BORDER_REPLACE = "border=\"1\"" # set the border wi th of the table57 TABLE_BORDER_REPLACE = "border=\"1\"" # set the border width of the table 58 58 }}} 59 59 60 60 To install the macro: 61 61 {{{#!sh 62 tar -zxvf SqlAlchemyQuery.tar.gz63 cd SqlAlchemyQuery62 $ tar -zxvf SqlAlchemyQuery.tar.gz 63 $ cd SqlAlchemyQuery 64 64 --- edit install_sqlalchemyquery.bash --- 65 ./install_sqlalchemyquery.bash65 $ ./install_sqlalchemyquery.bash 66 66 }}} 67 67 … … 69 69 70 70 {{{#!sh 71 svn checkout https://trac-hacks.org/svn/sqlalchemyquerymacro72 cd sqlalchemyquerymacro/1.0/71 $ svn checkout https://trac-hacks.org/svn/sqlalchemyquerymacro 72 $ cd sqlalchemyquerymacro/1.0/ 73 73 --- edit install_sqlalchemyquery.bash --- 74 ./install_sqlalchemyquery.bash74 $ ./install_sqlalchemyquery.bash 75 75 }}} 76 76 … … 85 85 To configure this plugin, you must tell SqlAlchemy what database to connect to. 86 86 87 In `trac.ini` :87 In `trac.ini` for MySQL: 88 88 89 89 {{{#!ini … … 92 92 }}} 93 93 94 You can also use Oracle or SQLite:94 You can also use Oracle: 95 95 96 96 {{{#!ini … … 99 99 }}} 100 100 101 or :101 or SQLite: 102 102 103 103 {{{#!ini