Re: internationalization, how to change character set?

2007-09-28 Thread Philip Jenvey
On Sep 27, 2007, at 9:50 AM, jose wrote: Dear Philip, I'm not sure I'm doing this right, 1) I set the charset in the [extract_messages] section of the setup.cfg, the pot file says its charset is iso-8859-1 2) I ran python setup.py extract_messages, 3) setup.py init_catalog -l es 4)

Re: SQLAlchemy group_by with count

2007-09-28 Thread Aaron R
Not sure if you tried this, but this works in one of my uses of count from sqlalchemy.sql import func selectstmt = select([posts_table,func.count(comments_table.c.id)], posts_table.c.id==comments_table.c.post_id).\ group_by(posts_table.c.id, posts_table.c.content) so, for your

Re: Quickest way to use Elixir with a Pylons 0.9.6 project.

2007-09-28 Thread Isaac Csandl
D'oh! There was a problem in my model that didn't bother the older Elixir but it did bother the latest version... I mistook it for a problem with the latest version and not my code. Odd, but there you have it. Thanks for clearing up how easy it is to get it going without Tesla. :D Also, from

SQLAlchemy group_by with count

2007-09-28 Thread Thomas Sidwick
Hi This is an SQLAlchemy question, I'm using pylons with the assign_mapper on a project that has been in production for a while now. I have two data classes A and B in models. the sql that I want is essentially :: SELECT count(A.id) as no, A.name FROM A INNER JOIN B

Letting apache render error pages

2007-09-28 Thread Jonathan Share
Hi, I'm running pylons behind mod_fcgid and I would like to let apache render the error documents (such as 404 and 500 errors) to ensure consistency between the static and dynamic portions of the site. I have tried commenting out the ErrorDocuments middleware but that just results in a 0

Re: ANN: Pylons 0.9.6.1 Released

2007-09-28 Thread Ben Bangert
On Sep 27, 2007, at 4:58 PM, Waldemar Osuch wrote: I have noticed that you switched the version control to Mercurial. Is it a permanent change? The question is motivated by curiosity only. I did not notice any discussion on the list about it and that is why I'm asking. Ah, yes we have moved