3
I Use This!
Very Low Activity

News

Analyzed about 1 hour ago. based on code collected about 4 hours ago.
Posted over 12 years ago by Antti Haapala
The pylons style global gettext was bad idea even then. Using such approach on Pyramid requires more code and causes substantial overhead, compared to giving a Gettext style function per each rendering that is bound to the request locale.
Posted over 12 years ago by Anonymous Coward
Hear hear. I had to put literal('') inside my script tag to avoid incorrect output!
Posted over 12 years ago by Rick Copeland ☕
The idea is to use something like pylons' i18n.gettext to replace the built-in gettext (which does nothing). The pylons version will look at the current request's context and choose the appropriate translator automatically.
Posted over 12 years ago by Rick Copeland ☕
Looks good. Merged and pushed.
Posted over 12 years ago by Rick Copeland
Sort attrsView Changes
Posted over 12 years ago by Rick Copeland
Add support for passing *args and **kwargs from...View Changes
Posted over 12 years ago by Rick Copeland
Fix version infoView Changes
Posted over 12 years ago by Anonymous Coward
Have you thought of creating a discussion list on google groups? Seems easier to ask questions then here.
Posted over 12 years ago by Anonymous Coward
I'm doing some templating with Kajiki and liking it a lot. Including one template inside another works - using py:include. But, I can't get access to any of the variables that I've passed through to the main template inside the included template. ... [More] Instead I get this traceback: File "xmlresponse.py", line 78, in print(tmpl_to_xml("GetSessionStatus.xml", data), "\n") File "xmlresponse.py", line 11, in tmpl_to_xml return template(data).render() File "/home/odin/env/lib/python2.7/site-packages/kajiki/template.py", line 79, in render return u''.join(self) File "/home/odin/env/lib/python2.7/site-packages/kajiki/template.py", line 75, in __iter__ for chunk in self.__main__(): File "/home/odin/env/lib/python2.7/site-packages/kajiki/util.py", line 68, in __iter__ for xx in x: File "/home/odin/env/lib/python2.7/site-packages/kajiki/util.py", line 66, in __iter__ for x in self.iterator: File "response_templates/StdHeader.xml", line 3, in __main__ File "/home/odin/env/lib/python2.7/site-packages/kajiki/template.py", line 159, in _collect for part in it: File "", line 18, in _kj__420 NameError: global name 'CorrelationID' is not defined But CorrleationID is very much defined! Any help would be great! Thanks [Less]
Posted almost 13 years ago by Anonymous Coward
Welcome to your wiki! This is the default page, edit it as you see fit. To add a page simply reference it within brackets, e.g.: [SamplePage]. The wiki uses [Markdown](/p/kajiki/home/markdown_syntax/) syntax.