Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option for setting the template rendering parameters.
Do some PEP-8 clean-up and typo fixing along the way.
- Loading branch information
Showing
16 changed files
with
678 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,16 @@ | |||
*.pyc | build/ | ||
TurboGears2.egg-info | |||
dist/ | dist/ | ||
*~ | |||
*.egg | *.egg | ||
build/ | *.egg-info | ||
*.pyc | |||
*.pyo | |||
*.swp | |||
*.mak.py | *.mak.py | ||
*.DS_Store | |||
.coverage | .coverage | ||
.idea | |||
.noseids | |||
.project | |||
.pydevproject | |||
.settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,15 @@ | |||
<html xmlns="http://www.w3.org/1999/xhtml" | |||
xmlns:py="http://genshi.edgewall.org/" | |||
xmlns:xi="http://www.w3.org/2001/XInclude"> | |||
<head> | |||
<meta http-equiv="content-type" | |||
content="${response.content_type or 'none'}; charset=${response.charset or 'none'}" /> | |||
<title>TurboGears 2 doctype generation test</title> | |||
</head> | |||
|
|||
<body> | |||
<p>TurboGears 2 is a rapid web application development toolkit.</p> | |||
<hr/> | |||
<p py:content="'Rendered with Genshi.'">This is a Genshi template.</p> | |||
</body> | |||
</html> |
15 changes: 0 additions & 15 deletions
15
tests/test_stack/rendering/templates/index_autodoctype.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.