Ticket #2310 (closed defect: fixed)
[PATCH] TG2 currently does not work with jinja2
| Reported by: | mbailey | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.0final |
| Component: | TurboGears | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
modified setup function to import the new module namespace as well as use the new Environment() argument differences. Also modified the jinja tests to pass with jinja2.
Attachments
Change History
Changed 3 years ago by mbailey
-
attachment
jinja2.diff
added
comment:1 Changed 3 years ago by jorge.vargas
- Milestone set to 2.0
patch seems good +1, I'll like someone that uses jinja to confirm it before applying.
comment:3 follow-up: ↓ 5 Changed 3 years ago by faide
I asked for some feedback on the ML and no-one answered... :( Would you like to become a maintainer of the Jinja support in tg2? If so I would be glad to get you on-board and to work with you in our rendering quest (template lookup, dotted/non-dotted, speed?...)
comment:4 Changed 3 years ago by mramm
Yea, feel free to apply the patch. I'll do it if I have time tomorrow, but we definitely should get this in before 2.0 final.
comment:5 in reply to: ↑ 3 Changed 3 years ago by mbailey
Replying to faide:
I asked for some feedback on the ML and no-one answered... :( Would you like to become a maintainer of the Jinja support in tg2? If so I would be glad to get you on-board and to work with you in our rendering quest (template lookup, dotted/non-dotted, speed?...)
Sorry i don't have time to be a responsible maintainer. However, i am working on a project(hence the lack of time) which uses TG2 and Jinja2, so i run into any problems I will gladly submit patches, such as I did here.
Diff against turbogears trunk as of 4/18/2009 2:10am Eastern