Bonjour, Philippe.
Why not give us another chance? I'm sure that in spite of this bad first
impression, you'll end up in love with TG2. ;-)
We try our best to make it the best framework around, but keep in mind that
you may find some issues here and there because it's the last beta.
I agree
In tg.__init__,
- tmpl_context is exported, but not c
- g is defined, but app_globals is exported
- neither h nor webhelpers are defined or exported
My opinion is that both one-letter and full names should be exported by
tg, but at least we should be consistent.
-- Christoph
Well, we're not exporting any of the on letter variables, and I don't
like 1 letter variables generally. But I'll not fight about it if
there's concensus that we should export them.
On Tue, Mar 3, 2009 at 10:02 AM, Christoph Zwerschke c...@online.de wrote:
In tg.__init__,
- tmpl_context is
I don't like them either, but I find them handy in the templates.
On Tuesday March 3, 2009 18:28:43 Mark Ramm wrote:
Well, we're not exporting any of the on letter variables, and I don't
like 1 letter variables generally. But I'll not fight about it if
there's concensus that we should export
Gustavo Narea schrieb:
I don't like them either, but I find them handy in the templates.
That's my point. And if you use them in the templates, you may want to
use the same name in the controller. It's pretty confusing if you use
the same object as c in the template, but as tmpl_context in the
Mark Ramm schrieb:
Well, we're not exporting any of the on letter variables, and I don't
like 1 letter variables generally. But I'll not fight about it if
there's concensus that we should export them.
We need to do something anyway: It makes no sense that tg.__init__
imports g from pylons and
philippe lemarre schrieb:
'/home/phil/comp/tg2env/lib/python2.5/site-packages/repoze.what-1.0.4-py2.5.egg/repoze/what/predicates.py',
line 244 in check_authorization
logger and logger.info(u'Authorization denied: %s' % error)
UnicodeEncodeError: 'ascii' codec can't encode character
Christoph Zwerschke a écrit :
philippe lemarre schrieb:
'/home/phil/comp/tg2env/lib/python2.5/site-packages/repoze.what-1.0.4-py2.5.egg/repoze/what/predicates.py',
line 244 in check_authorization
logger and logger.info(u'Authorization denied: %s' % error)
UnicodeEncodeError: 'ascii'
Florent Aide a écrit :
On Tue, Mar 3, 2009 at 10:21 PM, philippe lemarre ph.lema...@free.fr wrote:
Ok for the problem I have I don't understand what you're telling me
Gustavo. I have used poedit like it is recommended in the doc
I 've extracted the messages for TG site and I ' ve
philippe lemarre schrieb:
But as you're french , can you tell me how you handle the fact that
formencode knows only about US date ('mm/dd/yy').
Newer formencode versions have a national submodule that may help you.
-- Christoph
--~--~-~--~~~---~--~~
You
On 04/03/2009, at 6:06 AM, Christoph Zwerschke wrote:
Mark Ramm schrieb:
Well, we're not exporting any of the on letter variables, and I don't
like 1 letter variables generally. But I'll not fight about it if
there's concensus that we should export them.
We need to do something anyway:
Looks like pylons is helping to make the decision for us:
http://pylonshq.com/project/pylonshq/changeset/2058%3A45f1838d28a5
c and g are going away in the next version of Pylons, so we should be
forward compatible ;)
On Tue, Mar 3, 2009 at 8:16 PM, Chris Miles miles.ch...@gmail.com wrote:
12 matches
Mail list logo